From 71d11e8f2b377d3aade73faae129811bba922315 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 24 Dec 2021 00:49:02 +0100 Subject: [PATCH] repo-sync: add group --- krebs/3modules/repo-sync.nix | 3 +++ 1 file changed, 3 insertions(+) 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";