mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 09:17:07 +03:00
nixos: Add also group.members to group
This commit is contained in:
parent
e419cf64ca
commit
a59df1e567
@ -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;
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user