put swappiness and governor in base
All checks were successful
Activate Homelab Configuration / rebuild (push) Successful in 19s
All checks were successful
Activate Homelab Configuration / rebuild (push) Successful in 19s
This commit is contained in:
parent
c9f4ad0e13
commit
d4b19a279e
2 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -5,9 +5,6 @@
|
|||
inputs.mc.nixosModules.minecraft-servers
|
||||
];
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue