From 8c9ffefe98e34bb8158c45413231246c59a7afc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Tue, 9 Apr 2024 15:19:39 +0300 Subject: [PATCH] fix platform_profile --- hosts/fwminex/configuration.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hosts/fwminex/configuration.nix b/hosts/fwminex/configuration.nix index 3453379..a3d0d49 100644 --- a/hosts/fwminex/configuration.nix +++ b/hosts/fwminex/configuration.nix @@ -44,8 +44,6 @@ in { }; }; - powerManagement.cpuFreqGovernor = "powersave"; - hardware.cpu.intel.updateMicrocode = true; nixpkgs.hostPlatform = "x86_64-linux"; @@ -135,6 +133,7 @@ in { CPU_ENERGY_PERF_POLICY_ON_AC = "performance"; CPU_ENERGY_PERF_POLICY_ON_BAT = "power"; PLATFORM_PROFILE_ON_BAT = "low-power"; + PLATFORM_PROFILE_ON_AC = "performance"; START_CHARGE_THRESH_BAT1 = 90; STOP_CHARGE_THRESH_BAT1 = 97; RUNTIME_PM_ON_BAT = "auto";