summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/github-hosts-sync.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-12-01 18:31:53 +0100
committerlassulus <lassulus@lassul.us>2021-12-01 18:31:53 +0100
commit9f6c37f21c49fb26d214765cbecef0d9e5abca40 (patch)
treefaed0d79b8163d4b672ce68f00849cce132d88b4 /krebs/3modules/github-hosts-sync.nix
parentbb709ce412115424db63b9ec2622989070c93d46 (diff)
github-host-sync: add group
Diffstat (limited to 'krebs/3modules/github-hosts-sync.nix')
-rw-r--r--krebs/3modules/github-hosts-sync.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/krebs/3modules/github-hosts-sync.nix b/krebs/3modules/github-hosts-sync.nix
index 9421576df..71eed6c69 100644
--- a/krebs/3modules/github-hosts-sync.nix
+++ b/krebs/3modules/github-hosts-sync.nix
@@ -66,11 +66,14 @@ let
users.users.${user.name} = {
inherit (user) uid;
+ group = user.name;
home = cfg.dataDir;
isSystemUser = true;
};
};
+ users.groups.${user.name} = {};
+
user = rec {
mail = "${name}@${config.krebs.build.host.name}";
name = "github-hosts-sync";