forked from the-distro/infra
baremetal: run hydra store gc as builder user
This commit is contained in:
parent
adaf4b0aef
commit
2dc5899660
|
@ -149,6 +149,7 @@ in
|
|||
description = "Nix Garbage Collector";
|
||||
script = "exec ${config.nix.package.out}/bin/nix-store --gc --store /mnt";
|
||||
serviceConfig.Type = "oneshot";
|
||||
serviceConfig.User = "builder";
|
||||
startAt = "hourly";
|
||||
};
|
||||
systemd.timers.hydra-gc.timerConfig.Persistent = true;
|
||||
|
|
Loading…
Reference in a new issue