about summary refs log tree commit diff
path: root/modules/workstation/networking
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2019-09-07 13:26:06 +0000
committerAlyssa Ross <hi@alyssa.is>2019-09-16 22:09:43 +0000
commit3ff17ba77e59ca4de6f037ea4eaf4d21f760e3a5 (patch)
treeefcb7573cad7f6710d276dccd2825214d60eb125 /modules/workstation/networking
parentaa46c6ccdf65e4a3018809bb5d7d14a97ac5a792 (diff)
downloadnixlib-3ff17ba77e59ca4de6f037ea4eaf4d21f760e3a5.tar
nixlib-3ff17ba77e59ca4de6f037ea4eaf4d21f760e3a5.tar.gz
nixlib-3ff17ba77e59ca4de6f037ea4eaf4d21f760e3a5.tar.bz2
nixlib-3ff17ba77e59ca4de6f037ea4eaf4d21f760e3a5.tar.lz
nixlib-3ff17ba77e59ca4de6f037ea4eaf4d21f760e3a5.tar.xz
nixlib-3ff17ba77e59ca4de6f037ea4eaf4d21f760e3a5.tar.zst
nixlib-3ff17ba77e59ca4de6f037ea4eaf4d21f760e3a5.zip
modules/networking: set networkmanager group
This group, specific to NetworkManager, didn't really belong as part
of the user definition. It's still not ideal that the networking
module is aware of my user -- it might be nicer to have some generic
framework for admin groups. But this is fine for now.
Diffstat (limited to 'modules/workstation/networking')
-rw-r--r--modules/workstation/networking/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/workstation/networking/default.nix b/modules/workstation/networking/default.nix
index 4f3854b7fad7..3176e8d061c0 100644
--- a/modules/workstation/networking/default.nix
+++ b/modules/workstation/networking/default.nix
@@ -9,6 +9,8 @@
 
   networking.networkmanager.enable = true;
 
+  users.users.qyliss.extraGroups = [ "networkmanager" ];
+
   # Plausible MAC randomization
   networking.networkmanager.ethernet.macAddress = "random";
   networking.networkmanager.wifi.macAddress = "random";