Skip to content

Commit

Permalink
services/hydra: trigger gc less
Browse files Browse the repository at this point in the history
  • Loading branch information
linyinfeng committed Oct 10, 2024
1 parent 78d1218 commit 592c0b9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nixos/profiles/services/hydra/_cache.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 592c0b9

Please sign in to comment.