mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-10 02:54:39 -07:00
increase homelab swapiness
This commit is contained in:
parent
60fa7715d6
commit
f221845ddf
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue