13 lines
352 B
Nix
13 lines
352 B
Nix
|
{ ... }: {
|
||
|
services.tlp = {
|
||
|
enable = true;
|
||
|
settings = {
|
||
|
CPU_BOOST_ON_BAT = 0;
|
||
|
CPU_SCALING_GOVERNOR_ON_BATTERY = "powersave";
|
||
|
# Specific to the Framework, since I have it limited to 80% charge in the BIOS
|
||
|
START_CHARGE_THRESH_BAT0 = 70;
|
||
|
STOP_CHARGE_THRESH_BAT0 = 79;
|
||
|
RUNTIME_PM_ON_BAT = "auto";
|
||
|
};
|
||
|
};
|
||
|
}
|