3
0
Fork 0
forked from mirrors/nixpkgs

Don't add users if createUser is false

This commit is contained in:
Rickard Nilsson 2014-04-08 12:33:30 +02:00
parent 3a9a8b58ad
commit 604306c34a

View file

@ -7,7 +7,7 @@ let
ids = config.ids;
cfg = config.users;
nonUidUsers = filterAttrs (n: u: u.uid == null) cfg.extraUsers;
nonUidUsers = filterAttrs (n: u: u.createUser && u.uid == null) cfg.extraUsers;
nonGidGroups = filterAttrs (n: g: g.gid == null) cfg.extraGroups;
passwordDescription = ''