From 90692c9bc1485138fef7e1ef2d90d3a072aa83cb Mon Sep 17 00:00:00 2001 From: emily Date: Thu, 24 Oct 2024 15:37:46 +0200 Subject: [PATCH] hydra: increase gc time --- config/services/hydra/nix-config.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/services/hydra/nix-config.nix b/config/services/hydra/nix-config.nix index 6359fc5..b4a2faa 100644 --- a/config/services/hydra/nix-config.nix +++ b/config/services/hydra/nix-config.nix @@ -39,7 +39,10 @@ }); nix.distributedBuilds = true; nixpkgs.config.allowUnsupportedSystem = true; - nix.gc.options = lib.mkForce "--delete-older-than 90d"; + nix.gc = { + dates = "monthly"; + options = lib.mkForce "--delete-older-than 90d"; + }; nix.settings = { allowed-uris = [ "github:"