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:
Trolli Schmittlauch 2021-04-16 17:28:45 +02:00
parent 7e2589b213
commit 797e853947

View file

@ -193,8 +193,6 @@ in
# Enable all sysrq functions (useful to recover from some issues): # Enable all sysrq functions (useful to recover from some issues):
boot.kernel.sysctl."kernel.sysrq" = 1; # NixOS default: 16 (only the sync command) 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 # keep build-time deps around for offline-rebuilding
nix.extraOptions = '' nix.extraOptions = ''
gc-keep-outputs = true gc-keep-outputs = true