diff --git a/systems/palatine-hill/attic.nix b/systems/palatine-hill/attic.nix index b793bf3..d8c8635 100644 --- a/systems/palatine-hill/attic.nix +++ b/systems/palatine-hill/attic.nix @@ -110,8 +110,9 @@ ]; description = "Force resync of hydra derivations with attic"; serviceConfig = { - User = "root"; - Restart = "always"; + Type = "oneshot"; + DynamicUser = "yes"; + Group = "hydra"; ExecStart = "${config.nix.package}/bin/nix ${./attic/sync-attic.bash}"; }; };