fix platform_profile

This commit is contained in:
Motiejus Jakštys 2024-04-09 15:19:39 +03:00 committed by Motiejus Jakštys
parent cb8c347ae2
commit 8c9ffefe98

View File

@ -44,8 +44,6 @@ in {
}; };
}; };
powerManagement.cpuFreqGovernor = "powersave";
hardware.cpu.intel.updateMicrocode = true; hardware.cpu.intel.updateMicrocode = true;
nixpkgs.hostPlatform = "x86_64-linux"; nixpkgs.hostPlatform = "x86_64-linux";
@ -135,6 +133,7 @@ in {
CPU_ENERGY_PERF_POLICY_ON_AC = "performance"; CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
CPU_ENERGY_PERF_POLICY_ON_BAT = "power"; CPU_ENERGY_PERF_POLICY_ON_BAT = "power";
PLATFORM_PROFILE_ON_BAT = "low-power"; PLATFORM_PROFILE_ON_BAT = "low-power";
PLATFORM_PROFILE_ON_AC = "performance";
START_CHARGE_THRESH_BAT1 = 90; START_CHARGE_THRESH_BAT1 = 90;
STOP_CHARGE_THRESH_BAT1 = 97; STOP_CHARGE_THRESH_BAT1 = 97;
RUNTIME_PM_ON_BAT = "auto"; RUNTIME_PM_ON_BAT = "auto";