diff --git a/modules/desktop-environment/default.nix b/modules/desktop-environment/default.nix index 73050ec..d6030ad 100644 --- a/modules/desktop-environment/default.nix +++ b/modules/desktop-environment/default.nix @@ -5,6 +5,7 @@ ./flatpak.nix ./home ./dm.nix + ./tlp.nix ]; services.upower = { enable = true; diff --git a/modules/desktop-environment/tlp.nix b/modules/desktop-environment/tlp.nix new file mode 100644 index 0000000..88aa4d7 --- /dev/null +++ b/modules/desktop-environment/tlp.nix @@ -0,0 +1,9 @@ +{...}: { + services.tlp = { + enable = true; + settings = { + START_CHARGE_THRESH_BAT0 = "70"; + STOP_CHARGE_TRESH_BAT0 = "85"; + }; + }; +}