From 6c7f6bd7892a5a1868636ff41151033d1dbc6556 Mon Sep 17 00:00:00 2001 From: emily Date: Sun, 20 Oct 2024 22:28:38 +0200 Subject: [PATCH] hydra: increase cache time --- config/profiles/builder.nix | 1 - config/services/hydra/nix-config.nix | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/config/profiles/builder.nix b/config/profiles/builder.nix index 5e21669..8e81522 100644 --- a/config/profiles/builder.nix +++ b/config/profiles/builder.nix @@ -1,6 +1,5 @@ { lib, pkgs, ... }: { kyouma.deployment.auto-upgrade.cache = "daemon"; - nix.gc.options = lib.mkForce "--delete-older-than 30d"; nix.settings = { trusted-users = [ "nix-ssh" ]; #system-features = [ "nixos-test" "benchmark" "big-parallel" "kvm" ] ++ lib.optionals pkgs.hostPlatform.isx86_64 [ "gccarch-x86-64-v3" ]; diff --git a/config/services/hydra/nix-config.nix b/config/services/hydra/nix-config.nix index 016887b..18bfc0e 100644 --- a/config/services/hydra/nix-config.nix +++ b/config/services/hydra/nix-config.nix @@ -35,6 +35,7 @@ supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "gccarch-x86-64" "gccarch-x86-64-v2" "gccarch-x86-64-v3" ]; sshKey = config.sops.secrets."services/hydra/id_ed25519_hydra".path; }); + nix.gc.options = lib.mkForce "--delete-older-than 90d"; nix.settings = { allowed-uris = [ "github:"