diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/by-name/co/constants/module.nix | 2 | ||||
| -rw-r--r-- | modules/by-name/ne/networking/module.nix | 17 |
2 files changed, 13 insertions, 6 deletions
diff --git a/modules/by-name/co/constants/module.nix b/modules/by-name/co/constants/module.nix index 5711e9cf..493ead1f 100644 --- a/modules/by-name/co/constants/module.nix +++ b/modules/by-name/co/constants/module.nix @@ -22,6 +22,7 @@ ids.uids = { # Keep this sorted with `!sort --numeric-sort --key=2 --field-separator="="` + wpa_supplicant = 986; dhcpcd = 992; systemd-oom = 993; sshd = 994; @@ -37,6 +38,7 @@ # Please add your groups to the users and inherit them here. # This avoids having an user/group id mismatch. + wpa_supplicant = 986; dhcpcd = 987; lpadmin = 988; resolvconf = 989; diff --git a/modules/by-name/ne/networking/module.nix b/modules/by-name/ne/networking/module.nix index ea080ea4..075a1a5a 100644 --- a/modules/by-name/ne/networking/module.nix +++ b/modules/by-name/ne/networking/module.nix @@ -99,12 +99,17 @@ in { soispha.impermanence.directories = [ "/etc/NetworkManager" ]; - - users.users = { - "${cfg.userName}".extraGroups = [ - "networkmanager" # allows to configure NetworkManager as this user - ]; - nm-iodine.uid = config.soispha.constants.ids.uids.nm-iodine; + users = { + users = { + "${cfg.userName}".extraGroups = [ + "networkmanager" # allows to configure NetworkManager as this user + ]; + nm-iodine.uid = config.soispha.constants.ids.uids.nm-iodine; + wpa_supplicant.uid = config.soispha.constants.ids.uids.wpa_supplicant; + }; + groups = { + wpa_supplicant.gid = config.soispha.constants.ids.gids.wpa_supplicant; + }; }; }) ]); |
