repo-sync: add group

This commit is contained in:
tv 2021-12-24 00:49:02 +01:00
parent 234d9d96bf
commit 71d11e8f2b

View File

@ -148,10 +148,13 @@ let
users.users.${cfg.user.name} = {
inherit (cfg.user) home name uid;
createHome = true;
group = cfg.user.name;
description = "repo-sync user";
isSystemUser = true;
};
users.groups.${cfg.user.name} = {};
systemd.timers = mapAttrs' (name: repo:
nameValuePair "repo-sync-${name}" {
description = "repo-sync timer";