builders: run gc 3x per day

We can still adjust it if the disks fill up, but currently it is too frequent
This commit is contained in:
Yureka 2024-07-21 19:49:02 +02:00
parent 555728ca0f
commit d84a43b781

View file

@ -150,7 +150,7 @@ in
script = "exec ${config.nix.package.out}/bin/nix-store --gc --store /mnt"; script = "exec ${config.nix.package.out}/bin/nix-store --gc --store /mnt";
serviceConfig.Type = "oneshot"; serviceConfig.Type = "oneshot";
serviceConfig.User = "builder"; serviceConfig.User = "builder";
startAt = "hourly"; startAt = "*-*-* 00/8:00:00";
}; };
systemd.timers.hydra-gc.timerConfig.Persistent = true; systemd.timers.hydra-gc.timerConfig.Persistent = true;