2024-03-09 17:18:36 +01:00
|
|
|
{ ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
services.auto-cpufreq.enable = true;
|
|
|
|
services.auto-cpufreq.settings = {
|
|
|
|
battery = {
|
|
|
|
governor = "powersave";
|
|
|
|
turbo = "never";
|
|
|
|
};
|
|
|
|
charger = {
|
|
|
|
governor = "performance";
|
|
|
|
turbo = "auto";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-06-25 09:33:40 +02:00
|
|
|
services.power-profiles-daemon.enable = true;
|
|
|
|
|
2024-06-25 10:31:41 +02:00
|
|
|
boot.extraModprobeConfig = ''
|
|
|
|
options snd_hda_intel power_save=0
|
|
|
|
'';
|
|
|
|
|
2024-06-21 12:38:09 +02:00
|
|
|
# powerManagement.powertop.enable = true;
|
2024-03-09 17:18:36 +01:00
|
|
|
}
|
|
|
|
|