ark/hosts/tkaronto/modules/tlp.nix

27 lines
863 B
Nix
Raw Normal View History

2022-09-12 02:33:56 +03:00
{
services.tlp = {
enable = true;
settings = {
RADEON_DPM_PERF_LEVEL_ON_AC = "auto";
2023-10-08 09:51:05 +03:00
RADEON_DPM_PERF_LEVEL_ON_BAT = "auto";
2023-09-10 21:40:39 +03:00
RADEON_DPM_STATE_ON_AC = "balanced";
2022-09-12 02:33:56 +03:00
RADEON_DPM_STATE_ON_BAT = "battery";
2024-02-12 23:59:55 +03:00
PCIE_ASPM_ON_AC = "default";
2023-09-10 21:40:39 +03:00
PCIE_ASPM_ON_BAT = "powersupersave";
PLATFORM_PROFILE_ON_AC = "balanced";
PLATFORM_PROFILE_ON_BAT = "low-power";
2022-09-12 02:33:56 +03:00
NMI_WATCHDOG = 0;
2024-05-28 05:49:23 +03:00
CPU_DRIVER_OPMODE_ON_AC = "active";
CPU_DRIVER_OPMODE_ON_BAT = "active";
CPU_ENERGY_PERF_POLICY_ON_AC = "balance_power";
CPU_ENERGY_PERF_POLICY_ON_BAT = "balance_power";
CPU_SCALING_GOVERNOR_ON_AC = "powersave";
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
SOUND_POWER_SAVE_ON_AC = 1;
SOUND_POWER_SAVE_ON_BAT = 1;
RUNTIME_PM_ON_AC = "auto";
RUNTIME_PM_ON_BAT = "auto";
2022-09-12 02:33:56 +03:00
};
};
}