nixos/tower: Enable TLP

This commit is contained in:
Jack O'Sullivan 2022-09-09 14:16:05 +01:00
parent 403c683233
commit 09ddeecf4f

View File

@ -74,6 +74,16 @@
dmeventd.enable = true;
};
fstrim.enable = true;
tlp = {
enable = true;
settings = {
CPU_BOOST_ON_BAT = 0;
CPU_SCALING_GOVERNOR_ON_BATTERY = "powersave";
START_CHARGE_THRESH_BAT0 = 90;
STOP_CHARGE_THRESH_BAT0 = 97;
RUNTIME_PM_ON_BAT = "auto";
};
};
resolved = {
enable = true;