Tweak the power saving settings

This commit is contained in:
coolneng 2023-01-13 21:21:36 +01:00
parent ae67cfc7c9
commit b82c02f0eb
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
2 changed files with 8 additions and 7 deletions

View File

@ -24,8 +24,9 @@ with pkgs;
'')
];
boot.extraModprobeConfig = ''
options snd-hda-intel patch=hda-jack-retask.fw
options snd-hda-intel patch=hda-jack-retask.fw power_save=1
options mac80211 beacon_loss_count=500
options iwlwifi power_save=1
'';
}

View File

@ -5,10 +5,10 @@
services.tlp = {
enable = true;
settings = {
CPU_SCALING_MIN_FREQ_ON_AC = 800000;
CPU_SCALING_MAX_FREQ_ON_AC = 3000000;
CPU_SCALING_MIN_FREQ_ON_BAT = 800000;
CPU_SCALING_MAX_FREQ_ON_BAT = 2000000;
CPU_MIN_PERF_ON_AC = 0;
CPU_MAX_PERF_ON_AC = 100;
CPU_MIN_PERF_ON_BAT = 0;
CPU_MAX_PERF_ON_BAT = 50;
};
};
@ -20,8 +20,8 @@
# Undervolt CPU and GPU
services.undervolt = {
enable = true;
coreOffset = -100;
gpuOffset = -75;
coreOffset = -120;
gpuOffset = -95;
};
# Prevent overheating of the CPU