rice/hosts/alice/tlp.nix
buffet bb6e19f116 Revert "feat: increase charging limits for easterhegg"
This reverts commit 47a24f9e8adcd5000c34560ab4992a0b4ba73313.
2024-05-20 12:06:16 +02:00

18 lines
355 B
Nix

_: {
services = {
tlp = {
enable = true;
settings = let
start_charge = 40;
stop_charge = 60;
in {
START_CHARGE_THRESH_BAT0 = start_charge;
STOP_CHARGE_THRESH_BAT0 = stop_charge;
START_CHARGE_THRESH_BAT1 = start_charge;
STOP_CHARGE_THRESH_BAT1 = stop_charge;
};
};
};
}