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:"