From 853e54ec8458d9fa1222fb72f9871427d45fd8eb Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 3 Jan 2022 14:56:44 +0100 Subject: htgen: use currect group names --- krebs/3modules/htgen.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3