hydra: increase cache time

This commit is contained in:
emily 2024-10-20 22:28:38 +02:00
parent 38a2b135f0
commit 6c7f6bd789
Signed by: emily
GPG key ID: F6F4C66207FCF995
2 changed files with 1 additions and 1 deletions

View file

@ -1,6 +1,5 @@
{ lib, pkgs, ... }: { { lib, pkgs, ... }: {
kyouma.deployment.auto-upgrade.cache = "daemon"; kyouma.deployment.auto-upgrade.cache = "daemon";
nix.gc.options = lib.mkForce "--delete-older-than 30d";
nix.settings = { nix.settings = {
trusted-users = [ "nix-ssh" ]; trusted-users = [ "nix-ssh" ];
#system-features = [ "nixos-test" "benchmark" "big-parallel" "kvm" ] ++ lib.optionals pkgs.hostPlatform.isx86_64 [ "gccarch-x86-64-v3" ]; #system-features = [ "nixos-test" "benchmark" "big-parallel" "kvm" ] ++ lib.optionals pkgs.hostPlatform.isx86_64 [ "gccarch-x86-64-v3" ];

View file

@ -35,6 +35,7 @@
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "gccarch-x86-64" "gccarch-x86-64-v2" "gccarch-x86-64-v3" ]; 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; sshKey = config.sops.secrets."services/hydra/id_ed25519_hydra".path;
}); });
nix.gc.options = lib.mkForce "--delete-older-than 90d";
nix.settings = { nix.settings = {
allowed-uris = [ allowed-uris = [
"github:" "github:"