diff --git a/systems/wilde/configuration.nix b/systems/wilde/configuration.nix index 6c7183e..e27bfb4 100644 --- a/systems/wilde/configuration.nix +++ b/systems/wilde/configuration.nix @@ -12,6 +12,14 @@ ]; boot.kernelModules = [ "tp_smapi" "acpi_call" ]; environment.systemPackages = [ pkgs.tpacpi-bat ]; + + services.tlp = { + enable = true; + extraConfig = '' + START_CHARGE_THRESH_BAT0=80 + STOP_CHARGE_THRESH_BAT0=95 + ''; + }; } ];