mtworx: add autorandr

This commit is contained in:
Motiejus Jakštys 2024-03-12 15:47:29 +02:00
parent 9d7d2a1d5b
commit 5336c7beb4
1 changed files with 17 additions and 13 deletions

View File

@ -122,19 +122,23 @@ in {
firewall.rejectPackets = true; firewall.rejectPackets = true;
}; };
services.tlp = { services = {
enable = true; autorandr.enable = true;
settings = {
CPU_BOOST_ON_BAT = 0; tlp = {
CPU_HWP_DYN_BOOST_ON_BAT = 0; enable = true;
CPU_SCALING_GOVERNOR_ON_AC = "performance"; settings = {
CPU_SCALING_GOVERNOR_ON_BAT = "powersave"; CPU_BOOST_ON_BAT = 0;
CPU_ENERGY_PERF_POLICY_ON_AC = "performance"; CPU_HWP_DYN_BOOST_ON_BAT = 0;
CPU_ENERGY_PERF_POLICY_ON_BAT = "power"; CPU_SCALING_GOVERNOR_ON_AC = "performance";
PLATFORM_PROFILE_ON_BAT = "low-power"; CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
START_CHARGE_THRESH_BAT1 = 80; CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
STOP_CHARGE_THRESH_BAT1 = 87; CPU_ENERGY_PERF_POLICY_ON_BAT = "power";
RUNTIME_PM_ON_BAT = "auto"; PLATFORM_PROFILE_ON_BAT = "low-power";
START_CHARGE_THRESH_BAT1 = 80;
STOP_CHARGE_THRESH_BAT1 = 87;
RUNTIME_PM_ON_BAT = "auto";
};
}; };
}; };
} }