replaced tlp with auto-cpufreq

This commit is contained in:
k 2025-01-13 00:18:31 -05:00
parent 562839d47d
commit d016b8fdde

View File

@ -65,26 +65,17 @@
enable = true;
package = pkgs.ollama-intel;
};
tlp = {
auto-cpufreq = {
enable = true;
settings = {
CPU_SCALING_GOVERNOR_ON_AC = "ondemand";
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
CPU_ENERGY_PERF_POLICY_ON_AC = "balance_performance";
CPU_ENERGY_PERF_POLICY_ON_BAT = "power";
CPU_BOOST_ON_AC="1";
CPU_BOOST_ON_BAT="0";
CPU_HWP_DYN_BOOST_ON_AC="1";
CPU_HWP_DYN_BOOST_ON_BAT="0";
PLATFORM_PROFILE_ON_AC="performance";
PLATFORM_PROFILE_ON_BAT="low-power";
MEM_SLEEP_ON_AC="s2idle";
MEM_SLEEP_ON_BAT="deep";
battery = {
governor = "powersave";
turbo = "never";
};
charger = {
governor = "balance_performance";
turbo = "auto";
};
};
};
logind = {