Only add shadow to system packages if users.mutableUsers is true
This commit is contained in:
parent
eb2f44c18c
commit
03ee174032
|
@ -58,7 +58,8 @@ in
|
|||
|
||||
config = {
|
||||
|
||||
environment.systemPackages = [ pkgs.shadow ];
|
||||
environment.systemPackages =
|
||||
pkgs.lib.optional config.users.mutableUsers pkgs.shadow;
|
||||
|
||||
environment.etc =
|
||||
[ { # /etc/login.defs: global configuration for pwdutils. You
|
||||
|
|
Loading…
Reference in New Issue