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
flake-conversion
Trolli Schmittlauch 2021-04-16 17:28:45 +02:00
parent 7e2589b213
commit 797e853947
1 changed files with 0 additions and 2 deletions

View File

@ -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