Set some stuff up for the framework

This commit is contained in:
Natsu Kagami 2024-01-28 15:08:20 +01:00
parent dccc3802d7
commit 65686fdf16
Signed by: nki
GPG key ID: 55A032EB38B49ADB
2 changed files with 5 additions and 18 deletions

View file

@ -26,24 +26,7 @@
percentageCritical = 3;
percentageLow = 10;
};
services.tlp.enable = false;
services.tlp.settings = {
CPU_SCALING_GOVERNOR_ON_AC = "performance";
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
CPU_ENERGY_PERF_POLICY_ON_BAT = "power";
CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
CPU_MIN_PERF_ON_AC = 0;
CPU_MAX_PERF_ON_AC = 100;
CPU_MIN_PERF_ON_BAT = 0;
CPU_MAX_PERF_ON_BAT = 30;
PLATFORM_PROFILE_ON_AC = "performance";
PLATFORM_PROFILE_ON_BAT = "low-power";
USB_AUTOSUSPEND = 0;
};
services.power-profiles-daemon.enable = false;
services.power-profiles-daemon.enable = true;
# powerManagement.enable = true;
# powerManagement.powertop.enable = true;
services.logind.lidSwitch = "suspend";