modules: users: eta reduction of 'groupsIfExist'
This commit is contained in:
parent
56212a0c9e
commit
af1332fa89
|
@ -6,7 +6,7 @@ let
|
|||
lib.lists.optional
|
||||
(builtins.hasAttr grp config.users.groups)
|
||||
grp;
|
||||
groupsIfExist = grps: builtins.concatMap groupIfExists grps;
|
||||
groupsIfExist = builtins.concatMap groupIfExists;
|
||||
in
|
||||
{
|
||||
users.mutableUsers = false; # I want it to be declarative.
|
||||
|
|
Loading…
Reference in a new issue