diff options
author | Rickard Nilsson <rickynils@gmail.com> | 2014-09-22 19:18:08 +0200 |
---|---|---|
committer | Rickard Nilsson <rickynils@gmail.com> | 2014-09-22 19:18:08 +0200 |
commit | a59df1e567fcbc5a1f3282415c816a2dfa53dcbb (patch) | |
tree | aabe839a9fb927b11cc867215d50a2550c9f5046 /nixos/modules/config/users-groups.nix | |
parent | e419cf64ca33e37c8a4305f8c69b13b3c402804d (diff) |
nixos: Add also group.members to group
Diffstat (limited to 'nixos/modules/config/users-groups.nix')
-rw-r--r-- | nixos/modules/config/users-groups.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/config/users-groups.nix b/nixos/modules/config/users-groups.nix index 7d0498c10cc5..0d3273fe0539 100644 --- a/nixos/modules/config/users-groups.nix +++ b/nixos/modules/config/users-groups.nix @@ -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; }); |