replaced tlp with auto-cpufreq
This commit is contained in:
parent
562839d47d
commit
d016b8fdde
@ -65,26 +65,17 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.ollama-intel;
|
package = pkgs.ollama-intel;
|
||||||
};
|
};
|
||||||
tlp = {
|
auto-cpufreq = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
CPU_SCALING_GOVERNOR_ON_AC = "ondemand";
|
battery = {
|
||||||
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
|
governor = "powersave";
|
||||||
|
turbo = "never";
|
||||||
CPU_ENERGY_PERF_POLICY_ON_AC = "balance_performance";
|
};
|
||||||
CPU_ENERGY_PERF_POLICY_ON_BAT = "power";
|
charger = {
|
||||||
|
governor = "balance_performance";
|
||||||
CPU_BOOST_ON_AC="1";
|
turbo = "auto";
|
||||||
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";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
logind = {
|
logind = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user