baremetal: run hydra store gc as builder user

This commit is contained in:
Yureka 2024-07-20 16:59:27 +02:00
parent adaf4b0aef
commit 2dc5899660

View file

@ -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;