diff options
author | tv <tv@krebsco.de> | 2022-01-03 14:56:44 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2022-01-03 14:56:44 +0100 |
commit | 853e54ec8458d9fa1222fb72f9871427d45fd8eb (patch) | |
tree | aa992be74a0a7f36aa20b18ffb375c58f03456ac /krebs | |
parent | e8611251e6e40a50dedfe8efaa8ea555a96e1a9d (diff) |
htgen: use currect group names
Diffstat (limited to 'krebs')
-rw-r--r-- | krebs/3modules/htgen.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/krebs/3modules/htgen.nix b/krebs/3modules/htgen.nix index 4221703ec..375e26974 100644 --- a/krebs/3modules/htgen.nix +++ b/krebs/3modules/htgen.nix @@ -75,7 +75,12 @@ let } ) cfg; - users.groups = mapAttrs (_: _: {}) cfg; + users.groups = mapAttrs' (name: htgen: + nameValuePair htgen.user.name { + name = htgen.user.name; + gid = htgen.user.uid; + } + ) cfg; }; in out |