increase homelab swapiness

This commit is contained in:
death916 2026-02-08 10:37:23 -08:00
parent 60fa7715d6
commit f221845ddf

View file

@ -14,6 +14,7 @@
config = { config = {
zramSwap.enable = lib.mkForce false; zramSwap.enable = lib.mkForce false;
boot.kernel.sysctl = { "vm.swappiness" = 80; };
boot.kernelParams = [ "processor.max_cstate=1" ]; boot.kernelParams = [ "processor.max_cstate=1" ];
hardware.cpu.amd.updateMicrocode = true; hardware.cpu.amd.updateMicrocode = true;
# Wait for network to be online # Wait for network to be online