ark/hosts/tkaronto/modules/tlp.nix

17 lines
438 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";
2023-09-10 21:40:39 +03:00
PCIE_ASPM_ON_AC = "powersave";
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;
};
};
}