github-host-sync: add group

This commit is contained in:
lassulus 2021-12-01 18:31:53 +01:00
parent bb709ce412
commit 9f6c37f21c

View File

@ -66,11 +66,14 @@ let
users.users.${user.name} = { users.users.${user.name} = {
inherit (user) uid; inherit (user) uid;
group = user.name;
home = cfg.dataDir; home = cfg.dataDir;
isSystemUser = true; isSystemUser = true;
}; };
}; };
users.groups.${user.name} = {};
user = rec { user = rec {
mail = "${name}@${config.krebs.build.host.name}"; mail = "${name}@${config.krebs.build.host.name}";
name = "github-hosts-sync"; name = "github-hosts-sync";