| 12345678910111213141516171819202122 |
- { config, pkgs, ... }:
- {
- services.power-profiles-daemon.enable = false;
- services.tlp = {
- enable = true;
- pd.enable = true;
- settings = {
- CPU_SCALING_GOVERNOR_ON_AC = "performance";
- CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
- CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
- CPU_ENERGY_PERF_POLICY_ON_BAT = "power";
- PLATFORM_PROFILE_ON_AC = "performance";
- PLATFORM_PROFILE_ON_BAT = "low-power";
- START_CHARGE_THRESH_BAT0 = 0;
- STOP_CHARGE_THRESH_BAT0 = 80;
- };
- };
- }
|