auto-cpufreq

This commit is contained in:
xenia 2025-04-30 21:38:27 +02:00
parent cc9132bbd4
commit fb9f3d8381

View File

@ -39,6 +39,18 @@ in {
];
};
services.auto-cpufreq.enable = true;
services.auto-cpufreq.settings = {
battery = {
governor = "ondemand";
turbo = "never";
};
charger = {
governor = "performance";
turbo = "auto";
};
};
networking.firewall.interfaces."enu1c2".allowedUDPPortRanges = [ { from = 0; to = 65535; } ];
networking.firewall.interfaces."enu1c2".allowedTCPPortRanges = [ { from = 0; to = 65535; } ];