From 6c7f6bd7892a5a1868636ff41151033d1dbc6556 Mon Sep 17 00:00:00 2001 From: emily Date: Sun, 20 Oct 2024 22:28:38 +0200 Subject: [PATCH 1/2] 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:" From 7af445057849487cdfb338cda44be436e2df8367 Mon Sep 17 00:00:00 2001 From: Update Bot Date: Mon, 21 Oct 2024 04:20:24 +0200 Subject: [PATCH 2/2] flake.lock: Update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Flake lock file updates: • Updated input 'home-manager': 'github:nix-community/home-manager/122f70545b29ccb922e655b08acfe05bfb44ec68' (2024-10-19) → 'github:nix-community/home-manager/1e27f213d77fc842603628bcf2df6681d7d08f7e' (2024-10-20) • Updated input 'nixos-hardware': 'github:nixos/nixos-hardware/38279034170b1e2929b2be33bdaedbf14a57bfeb' (2024-10-19) → 'github:nixos/nixos-hardware/9fcf30fccf8435f6390efec4a4d38e69c2268a36' (2024-10-20) • Updated input 'nixvim': 'github:nix-community/nixvim/c4ad4d0b2e7de04fa9ae0652b006807f42062080' (2024-10-19) → 'github:nix-community/nixvim/47b563d4e1410bff6a9481b3dd8b01b1e5ed70d2' (2024-10-20) • Updated input 'sops-nix': 'github:Mic92/sops-nix/06535d0e3d0201e6a8080dd32dbfde339b94f01b' (2024-10-08) → 'github:Mic92/sops-nix/c504fd7ac946d7a1b17944d73b261ca0a0b226a5' (2024-10-20) • Updated input 'sops-nix/nixpkgs-stable': 'github:NixOS/nixpkgs/17ae88b569bb15590549ff478bab6494dde4a907' (2024-10-05) → 'github:NixOS/nixpkgs/bb8c2cf7ea0dd2e18a52746b2c3a5b0c73b93c22' (2024-10-19) --- flake.lock | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/flake.lock b/flake.lock index d01396d..aa2d4e2 100644 --- a/flake.lock +++ b/flake.lock @@ -521,11 +521,11 @@ ] }, "locked": { - "lastModified": 1729321331, - "narHash": "sha256-KVyQq+ez/oB30/WbdNgVD8g/bda34z8NiU187QKQb74=", + "lastModified": 1729459288, + "narHash": "sha256-gBOVJv+q6Mx8jGvwX7cE6J8+sZmi1uxpRVsO7WxvVuQ=", "owner": "nix-community", "repo": "home-manager", - "rev": "122f70545b29ccb922e655b08acfe05bfb44ec68", + "rev": "1e27f213d77fc842603628bcf2df6681d7d08f7e", "type": "github" }, "original": { @@ -745,11 +745,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1729333370, - "narHash": "sha256-NU+tYe3QWzDNpB8RagpqR3hNQXn4BNuBd7ZGosMHLL8=", + "lastModified": 1729455275, + "narHash": "sha256-THqzn/7um3oMHUEGXyq+1CJQE7EogwR3HjLMNOlhFBE=", "owner": "nixos", "repo": "nixos-hardware", - "rev": "38279034170b1e2929b2be33bdaedbf14a57bfeb", + "rev": "9fcf30fccf8435f6390efec4a4d38e69c2268a36", "type": "github" }, "original": { @@ -828,11 +828,11 @@ }, "nixpkgs-stable_2": { "locked": { - "lastModified": 1728156290, - "narHash": "sha256-uogSvuAp+1BYtdu6UWuObjHqSbBohpyARXDWqgI12Ss=", + "lastModified": 1729357638, + "narHash": "sha256-66RHecx+zohbZwJVEPF7uuwHeqf8rykZTMCTqIrOew4=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "17ae88b569bb15590549ff478bab6494dde4a907", + "rev": "bb8c2cf7ea0dd2e18a52746b2c3a5b0c73b93c22", "type": "github" }, "original": { @@ -907,11 +907,11 @@ "treefmt-nix": "treefmt-nix_2" }, "locked": { - "lastModified": 1729368702, - "narHash": "sha256-KW+NFU0woUYpiVsdbXO5YAKCnKZ743BJlnG4ZEflvfs=", + "lastModified": 1729438888, + "narHash": "sha256-TGTDOX2/5OIoSzlcRReVn4BbbfL6Ami/eassiPPGqNA=", "owner": "nix-community", "repo": "nixvim", - "rev": "c4ad4d0b2e7de04fa9ae0652b006807f42062080", + "rev": "47b563d4e1410bff6a9481b3dd8b01b1e5ed70d2", "type": "github" }, "original": { @@ -987,11 +987,11 @@ "nixpkgs-stable": "nixpkgs-stable_2" }, "locked": { - "lastModified": 1728345710, - "narHash": "sha256-lpunY1+bf90ts+sA2/FgxVNIegPDKCpEoWwOPu4ITTQ=", + "lastModified": 1729394972, + "narHash": "sha256-fADlzOzcSaGsrO+THUZ8SgckMMc7bMQftztKFCLVcFI=", "owner": "Mic92", "repo": "sops-nix", - "rev": "06535d0e3d0201e6a8080dd32dbfde339b94f01b", + "rev": "c504fd7ac946d7a1b17944d73b261ca0a0b226a5", "type": "github" }, "original": {