mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
Fix users.*.extraGroups for users.mutableUsers = true.
This commit is contained in:
parent
ccd3b3397e
commit
eb22292305
|
@ -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"} \
|
||||
|
|
Loading…
Reference in a new issue