no *explicit* enabling of memory overcommitting
that was initially intorduced to overcome memory issues in a VirtualBox VM, so probably not needed anymore whether this actually disables overcommittment, that depends on the default
This commit is contained in:
parent
7e2589b213
commit
797e853947
|
@ -193,8 +193,6 @@ in
|
|||
# Enable all sysrq functions (useful to recover from some issues):
|
||||
boot.kernel.sysctl."kernel.sysrq" = 1; # NixOS default: 16 (only the sync command)
|
||||
|
||||
# fix nix-env memory issues
|
||||
boot.kernel.sysctl."vm.overcommit_memory" = "1";
|
||||
# keep build-time deps around for offline-rebuilding
|
||||
nix.extraOptions = ''
|
||||
gc-keep-outputs = true
|
||||
|
|
Loading…
Reference in a new issue