put swappiness and governor in base
All checks were successful
Activate Homelab Configuration / rebuild (push) Successful in 19s

This commit is contained in:
Satria 2026-07-24 15:22:47 +07:00
commit d4b19a279e
2 changed files with 3 additions and 3 deletions

View file

@ -16,6 +16,9 @@
i18n.defaultLocale = locale;
environment.localBinInPath = true;
powerManagement.cpuFreqGovernor = "powersave";
boot.kernel.sysctl."vm.swappiness" = 10; # only swap when necessary
security = {
polkit = {
enable = true;

View file

@ -6,9 +6,6 @@
];
nixpkgs.overlays = [ inputs.mc.overlay ];
powerManagement.cpuFreqGovernor = "powersave"; # performance governor causes overheating and thermal throttling, works fine with powesave
boot.kernel.sysctl."vm.swappiness" = 10; # reduce swap usage and keep memory performance smooth
services.minecraft-servers = {
# LOCK IN
enable = false;