nixos: Add also group.members to group

This commit is contained in:
Rickard Nilsson 2014-09-22 19:18:08 +02:00
parent e419cf64ca
commit a59df1e567

View File

@ -310,9 +310,9 @@ let
}) cfg.extraUsers;
groups = mapAttrsToList (n: g:
{ inherit (g) name gid;
members = mapAttrsToList (n: u: u.name) (
members = g.members ++ (mapAttrsToList (n: u: u.name) (
filterAttrs (n: u: elem g.name u.extraGroups) cfg.extraUsers
);
));
}) cfg.extraGroups;
});