From 280ed594fb4d4256a3f7a9a0b903c3e251234735 Mon Sep 17 00:00:00 2001 From: lassulus Date: Wed, 1 Dec 2021 17:55:22 +0100 Subject: htgen: generate group for every user --- krebs/3modules/htgen.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'krebs') diff --git a/krebs/3modules/htgen.nix b/krebs/3modules/htgen.nix index 517dad76f..4221703ec 100644 --- a/krebs/3modules/htgen.nix +++ b/krebs/3modules/htgen.nix @@ -69,10 +69,13 @@ let users.users = mapAttrs' (name: htgen: nameValuePair htgen.user.name { inherit (htgen.user) home name uid; + group = htgen.user.name; createHome = true; isSystemUser = true; } ) cfg; + users.groups = mapAttrs (_: _: {}) cfg; + }; in out -- cgit v1.2.3