mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
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:
@@ -127,8 +127,6 @@ in
|
||||
system.disableInstallerTools = true;
|
||||
|
||||
nix.settings = {
|
||||
auto-optimise-store = true;
|
||||
|
||||
min-free = cfg.min-free;
|
||||
|
||||
max-free = cfg.max-free;
|
||||
|
||||
Reference in New Issue
Block a user