diff options
author | tv <tv@krebsco.de> | 2021-12-24 00:49:02 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2021-12-24 00:51:28 +0100 |
commit | 71d11e8f2b377d3aade73faae129811bba922315 (patch) | |
tree | 5911907c7971f6449db3925c5623bc3ed04c12da /krebs/3modules | |
parent | 234d9d96bf749c67add1339d37706bc07153d5f8 (diff) |
repo-sync: add group
Diffstat (limited to 'krebs/3modules')
-rw-r--r-- | krebs/3modules/repo-sync.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/krebs/3modules/repo-sync.nix b/krebs/3modules/repo-sync.nix index 0312c62fd..488cc4dd8 100644 --- a/krebs/3modules/repo-sync.nix +++ b/krebs/3modules/repo-sync.nix @@ -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"; |