From 2dc589966027fbf21f96ed62fe4e7c13784a10a0 Mon Sep 17 00:00:00 2001 From: Yureka Date: Sat, 20 Jul 2024 16:59:27 +0200 Subject: [PATCH] baremetal: run hydra store gc as builder user --- services/baremetal-builder/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/services/baremetal-builder/default.nix b/services/baremetal-builder/default.nix index b780d31..de06765 100644 --- a/services/baremetal-builder/default.nix +++ b/services/baremetal-builder/default.nix @@ -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;