From 4b2a3b705e76351a8740ebcdb0e585d63802ebef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Sat, 21 May 2022 18:10:26 +0100 Subject: [PATCH] disable automatic store optimizations where dedup is enabled --- config/nix.nix | 5 ----- config/nixos-8gb-fsn1-1.nix | 1 + 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/config/nix.nix b/config/nix.nix index 305c13d1..d784d8fb 100644 --- a/config/nix.nix +++ b/config/nix.nix @@ -8,7 +8,6 @@ sandbox = true; trusted-users = [ "@wheel" ]; require-sigs = true; - auto-optimise-store = true; builders-use-substitutes = true; substituters = [ "https://f000.backblazeb2.com/file/cache-chir-rs/" @@ -27,10 +26,6 @@ dates = "weekly"; options = "--delete-older-than 7d"; }; - optimise = { - automatic = true; - dates = [ "weekly" ]; - }; buildMachines = [ #{ # hostName = "build-nas"; diff --git a/config/nixos-8gb-fsn1-1.nix b/config/nixos-8gb-fsn1-1.nix index ba22b967..da33fadc 100644 --- a/config/nixos-8gb-fsn1-1.nix +++ b/config/nixos-8gb-fsn1-1.nix @@ -218,4 +218,5 @@ "gccarch-skylake" "ca-derivations" ]; + nix.settings.auto-optimise-store = true; }