Use autocpu-freq instead of intel pstate
This commit is contained in:
@@ -2,15 +2,10 @@
|
||||
|
||||
{
|
||||
# Enable the TLP daemon
|
||||
services.tlp = {
|
||||
enable = true;
|
||||
settings = {
|
||||
CPU_MIN_PERF_ON_AC = 0;
|
||||
CPU_MAX_PERF_ON_AC = 100;
|
||||
CPU_MIN_PERF_ON_BAT = 0;
|
||||
CPU_MAX_PERF_ON_BAT = 50;
|
||||
};
|
||||
};
|
||||
services.tlp.enable = true;
|
||||
|
||||
# Enable the auto-cpufreq daemon
|
||||
services.auto-cpufreq.enable = true;
|
||||
|
||||
# Suspend when the battery is critical and autosuspend USB and PCI
|
||||
services.udev.extraRules = ''
|
||||
|
||||
Reference in New Issue
Block a user