diff options
author | Charles Strahan <charles.c.strahan@gmail.com> | 2014-05-17 00:45:16 -0400 |
---|---|---|
committer | Charles Strahan <charles.c.strahan@gmail.com> | 2014-05-17 00:45:16 -0400 |
commit | 5445132f73cbc4ce8b3a9847a7ab917a7b1dbf4d (patch) | |
tree | 5e415d270be623dcfdf8411e0ac112c081828f90 /nixos/modules/config/users-groups.nix | |
parent | 4ac818601e5b38c2be4add23a2932810f977210b (diff) |
fix -G delimiter in call to useradd
Diffstat (limited to 'nixos/modules/config/users-groups.nix')
-rw-r--r-- | nixos/modules/config/users-groups.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/config/users-groups.nix b/nixos/modules/config/users-groups.nix index e7afb5181576..873b6fb424de 100644 --- a/nixos/modules/config/users-groups.nix +++ b/nixos/modules/config/users-groups.nix @@ -480,7 +480,7 @@ in { if ! id "${u.name}" &>/dev/null; then ${pkgs.shadow}/sbin/useradd \ -g "${u.group}" \ - -G "${toString u.extraGroups}" \ + -G "${concatStringsSep "," u.extraGroups}" \ -s "${u.shell}" \ -d "${u.home}" \ ${optionalString u.isSystemUser "--system"} \ |