From 89e64355ea33495d0392526301db805d11ab2dcf Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Sat, 27 Jan 2024 19:12:59 +0100 Subject: [PATCH 1/3] epyc: disable hydra Signed-off-by: Raito Bezarius --- modules/hydra/coordinator.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/hydra/coordinator.nix b/modules/hydra/coordinator.nix index 55dda02..0f28dfd 100644 --- a/modules/hydra/coordinator.nix +++ b/modules/hydra/coordinator.nix @@ -1,6 +1,6 @@ { pkgs, ... }: { services.hydra = { - enable = true; + enable = false; hydraURL = "https://hydra.newtype.fr"; notificationSender = "hydra@localhost"; buildMachinesFiles = [ "/etc/nix/machines" ]; From 495790a1425dff7ecb9a386ceac59e03544d557f Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Sat, 27 Jan 2024 19:13:04 +0100 Subject: [PATCH 2/3] android-cache: remove the aosp mirror for now Signed-off-by: Raito Bezarius --- modules/android-cache.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/android-cache.nix b/modules/android-cache.nix index 96a2968..64e161b 100644 --- a/modules/android-cache.nix +++ b/modules/android-cache.nix @@ -1,7 +1,7 @@ { lib, ... }: let mirrors = { - "https://android.googlesource.com" = "/var/lib/src/aosp/mirror"; + # "https://android.googlesource.com" = "/mnt/aospaosp/mirror"; "https://github.com/LineageOS" = "/var/lib/src/lineageos/LineageOS"; "https://github.com/TheMuppets" = "/var/lib/src/themuppets/TheMuppets"; }; From b5053ab520aa8550e5b169e620d111167a9cf64d Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Sat, 27 Jan 2024 19:13:13 +0100 Subject: [PATCH 3/3] nix: clean up various things for upcoming GC Signed-off-by: Raito Bezarius --- modules/nix-daemon.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/nix-daemon.nix b/modules/nix-daemon.nix index 760c768..0cad83b 100644 --- a/modules/nix-daemon.nix +++ b/modules/nix-daemon.nix @@ -57,8 +57,8 @@ in nrBuildUsers = 128; settings = { - keep-outputs = true; - keep-derivations = true; + keep-outputs = false; + keep-derivations = false; use-cgroups = true; http-connections = 0; auto-allocate-uids = true; @@ -76,7 +76,7 @@ in ]; experimental-features = [ "auto-allocate-uids" - "ca-derivations" + # "ca-derivations" this feature is really extremely broken. "cgroups" "discard-references" "fetch-closure"