diff --git a/nixos/profiles/services/hydra/_cache.nix b/nixos/profiles/services/hydra/_cache.nix index 0e418d09..3fe87018 100644 --- a/nixos/profiles/services/hydra/_cache.nix +++ b/nixos/profiles/services/hydra/_cache.nix @@ -94,9 +94,12 @@ in ]; }; environment = lib.mkIf config.networking.fw-proxy.enable config.networking.fw-proxy.environment; - requiredBy = [ "hydra-update-gc-roots.service" ]; after = [ "hydra-update-gc-roots.service" ]; }; + systemd.timers."gc-cache-li7g-com" = { + timerConfig.OnCalendar = "02:00"; + wantedBy = [ "timers.target" ]; + }; sops.secrets."b2_cache_key_id" = { terraformOutput.enable = true;