ark/hosts/tkaronto/modules/autocpufreq.nix.disabled

22 lines
479 B
Plaintext
Raw Normal View History

2022-09-15 01:29:25 +03:00
{
services.auto-cpufreq.enable = true;
2023-09-10 21:40:39 +03:00
services.auto-cpufreq.settings = {
charger = {
governor = "powersave";
2023-09-21 21:55:07 +03:00
scaling_min_freq = 600000;
2023-09-10 21:40:39 +03:00
scaling_max_freq = 3000000;
2023-09-21 21:55:07 +03:00
turbo = "off";
2023-09-10 21:40:39 +03:00
};
battery = {
governor = "powersave";
2023-09-21 21:55:07 +03:00
scaling_min_freq = 400000;
scaling_max_freq = 2000000;
turbo = "off";
2023-09-10 21:40:39 +03:00
};
};
2022-09-15 01:29:25 +03:00
services.tlp.settings = {
CPU_ENERGY_PERF_POLICY_ON_AC = "";
CPU_ENERGY_PERF_POLICY_ON_BAT = "";
};
}