fix: wodan power config
Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
c852bb922c
commit
f50cf25271
2 changed files with 20 additions and 16 deletions
|
|
@ -39,6 +39,26 @@
|
|||
variant = "";
|
||||
};
|
||||
|
||||
services.logind = {
|
||||
lidSwitch = "hibernate";
|
||||
lidSwitchExternalPower = "lock";
|
||||
};
|
||||
|
||||
services.power-profiles-daemon.enable = false;
|
||||
services.thermald.enable = true;
|
||||
services.tlp = {
|
||||
enable = true;
|
||||
settings = {
|
||||
CPU_BOOST_ON_AC = 1;
|
||||
CPU_BOOST_ON_BAT = 0;
|
||||
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";
|
||||
STOP_CHARGING_THRES_BAT0 = 95;
|
||||
};
|
||||
};
|
||||
|
||||
security.pam.loginLimits = [
|
||||
{
|
||||
domain = "@audio";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue