From 207dd25a1a0cf76333fa99119c3f46262d386d68 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Wed, 4 Nov 2026 21:23:38 +0100 Subject: modules/nix: Disable `auto-optimise-store` This setting is apparently bad for performance, and could maybe explain the performance issues I have experience while running a nix build. --- modules/by-name/ni/nix/module.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'modules/by-name') diff --git a/modules/by-name/ni/nix/module.nix b/modules/by-name/ni/nix/module.nix index f094d291..31977d4c 100644 --- a/modules/by-name/ni/nix/module.nix +++ b/modules/by-name/ni/nix/module.nix @@ -93,7 +93,9 @@ in { # Don't warn about dirty git trees (It is usually absolutely useless) warn-dirty = false; - auto-optimise-store = true; + # not good for performance. + auto-optimise-store = false; + experimental-features = [ "nix-command" "flakes" -- cgit v1.3.1