Set some stuff up for the framework
This commit is contained in:
parent
dccc3802d7
commit
65686fdf16
2 changed files with 5 additions and 18 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue