diff --git a/modules/hardware/misc/cpu-freq.nix b/modules/hardware/misc/cpu-freq.nix index 541829b..2b6476a 100644 --- a/modules/hardware/misc/cpu-freq.nix +++ b/modules/hardware/misc/cpu-freq.nix @@ -53,14 +53,14 @@ charger = { governor = "performance"; energy_performance_preference = "performance"; - turbo = "auto"; + turbo = "always"; platform_profile = "performance"; scaling_min_freq = 800000; scaling_max_freq = 3600000; }; battery = { governor = "powersave"; - energy_performance_preference = "power"; + energy_performance_preference = "balance-power"; platform_profile = "low-power"; turbo = "never"; scaling_min_freq = 400000; diff --git a/modules/hardware/thinkpad.nix b/modules/hardware/thinkpad.nix index df26f9a..03df0fa 100644 --- a/modules/hardware/thinkpad.nix +++ b/modules/hardware/thinkpad.nix @@ -35,24 +35,32 @@ throttled = { enable = true; extraConfig = '' - [UNDERVOLT] - CORE: -120 - GPU: -80 - CACHE: -120 - UNCORE: -80 - ANALOGIO: 0 + [GENERAL] + Enabled: True + Update_Rate_s: 30 [BATTERY] - PL1_Tdp_W: 12 - PL2_Tdp_W: 20 - PL1_Duration_s: 28 - PL2_Duration_s: 0.002 Update_Rate_s: 30 + PL1_Tdp_W: 12 + PL1_Duration_s: 28 + PL2_Tdp_W: 20 + PL2_Duration_s: 0.002 Trip_Temp_C: 85 - + [AC] + Update_Rate_s: 5 PL1_Tdp_W: 25 + PL1_Duration_s: 28 PL2_Tdp_W: 35 + PL2_Duration_s: 0.002 + Trip_Temp_C: 90 + + [UNDERVOLT] + CORE: -100 + GPU: -80 + CACHE: -100 + UNCORE: -80 + ANALOGIO: 0 ''; }; thinkfan = { diff --git a/modules/system/misc/utilities.nix b/modules/system/misc/utilities.nix index bdc5f9c..f6eca54 100644 --- a/modules/system/misc/utilities.nix +++ b/modules/system/misc/utilities.nix @@ -46,6 +46,8 @@ sysstat netcat p7zip + throttled + tlp stress stress-ng wakeonlan