nix-builder-vm: disable auto-optimise-store

This option is associated with corruption[1, 2] and is disabled by
default in Nix as it can cause significant slowdowns[3].

[1]: https://github.com/NixOS/nix/issues/7273
[2]: https://github.com/LnL7/nix-darwin/pull/1152
[3]: https://github.com/NixOS/nix/issues/462#issuecomment-378189808
This commit is contained in:
Michael Hoang
2025-03-13 16:02:29 +09:00
parent e3e32b642a
commit c0e0720c74

View File

@@ -127,8 +127,6 @@ in
system.disableInstallerTools = true;
nix.settings = {
auto-optimise-store = true;
min-free = cfg.min-free;
max-free = cfg.max-free;