auto-cpufreq
This commit is contained in:
parent
cc9132bbd4
commit
fb9f3d8381
|
@ -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; } ];
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user