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 = {
|
config = {
|
||||||
|
|
||||||
environment.systemPackages = [ pkgs.shadow ];
|
environment.systemPackages =
|
||||||
|
pkgs.lib.optional config.users.mutableUsers pkgs.shadow;
|
||||||
|
|
||||||
environment.etc =
|
environment.etc =
|
||||||
[ { # /etc/login.defs: global configuration for pwdutils. You
|
[ { # /etc/login.defs: global configuration for pwdutils. You
|
||||||
|
Loading…
x
Reference in New Issue
Block a user