fix service definition

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
ahuston-0 2024-06-22 13:25:40 -04:00 committed by Alice Huston
parent 15ef80722b
commit b699581bf3

View File

@ -110,8 +110,9 @@
]; ];
description = "Force resync of hydra derivations with attic"; description = "Force resync of hydra derivations with attic";
serviceConfig = { serviceConfig = {
User = "root"; Type = "oneshot";
Restart = "always"; DynamicUser = "yes";
Group = "hydra";
ExecStart = "${config.nix.package}/bin/nix ${./attic/sync-attic.bash}"; ExecStart = "${config.nix.package}/bin/nix ${./attic/sync-attic.bash}";
}; };
}; };