From 797e8539475e4f3fe6305b62df3b136f6789ecd8 Mon Sep 17 00:00:00 2001 From: Trolli Schmittlauch Date: Fri, 16 Apr 2021 17:28:45 +0200 Subject: [PATCH] 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 --- nixos/configuration.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 164455f..d0a105a 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -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