aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/common/optional/services/tlp.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/common/optional/services/tlp.nix')
-rw-r--r--hosts/common/optional/services/tlp.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/hosts/common/optional/services/tlp.nix b/hosts/common/optional/services/tlp.nix
new file mode 100644
index 0000000..967f197
--- /dev/null
+++ b/hosts/common/optional/services/tlp.nix
@@ -0,0 +1,9 @@
+{
+ services.tlp = {
+ enable = true;
+ settings = {
+ START_CHARGE_THRESH_BAT0 = 40;
+ STOP_CHARGE_THRESH_BAT0 = 50;
+ };
+ };
+}