repo-sync: add group
This commit is contained in:
parent
234d9d96bf
commit
71d11e8f2b
@ -148,10 +148,13 @@ let
|
|||||||
users.users.${cfg.user.name} = {
|
users.users.${cfg.user.name} = {
|
||||||
inherit (cfg.user) home name uid;
|
inherit (cfg.user) home name uid;
|
||||||
createHome = true;
|
createHome = true;
|
||||||
|
group = cfg.user.name;
|
||||||
description = "repo-sync user";
|
description = "repo-sync user";
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
users.groups.${cfg.user.name} = {};
|
||||||
|
|
||||||
systemd.timers = mapAttrs' (name: repo:
|
systemd.timers = mapAttrs' (name: repo:
|
||||||
nameValuePair "repo-sync-${name}" {
|
nameValuePair "repo-sync-${name}" {
|
||||||
description = "repo-sync timer";
|
description = "repo-sync timer";
|
||||||
|
Loading…
Reference in New Issue
Block a user