diff options
Diffstat (limited to 'nixos/modules/config/users-groups.nix')
-rw-r--r-- | nixos/modules/config/users-groups.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/config/users-groups.nix b/nixos/modules/config/users-groups.nix index 7daab98f7be6..2c37dccd6ce1 100644 --- a/nixos/modules/config/users-groups.nix +++ b/nixos/modules/config/users-groups.nix @@ -480,6 +480,7 @@ in { if ! id "${u.name}" &>/dev/null; then ${pkgs.shadow}/sbin/useradd \ -g "${u.group}" \ + -G "${toString u.extraGroups}" \ -s "${u.shell}" \ -d "${u.home}" \ ${optionalString u.isSystemUser "--system"} \ |