aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/common/optional/services/tlp.nix
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-11-22 11:18:28 -0800
committerMark Nipper <nipsy@bitgnome.net>2024-11-22 11:18:28 -0800
commitf180f7e86e29cd4cb8a4b992cc31e8b6f76a19da (patch)
treeee12c6f87b7fa63231ccb9ad33395941d4887294 /hosts/common/optional/services/tlp.nix
parent6ee7845d25c0c6e5421d323ffaf8656734f499b2 (diff)
downloadnix-f180f7e86e29cd4cb8a4b992cc31e8b6f76a19da.tar
nix-f180f7e86e29cd4cb8a4b992cc31e8b6f76a19da.tar.gz
nix-f180f7e86e29cd4cb8a4b992cc31e8b6f76a19da.tar.bz2
nix-f180f7e86e29cd4cb8a4b992cc31e8b6f76a19da.tar.lz
nix-f180f7e86e29cd4cb8a4b992cc31e8b6f76a19da.tar.xz
nix-f180f7e86e29cd4cb8a4b992cc31e8b6f76a19da.tar.zst
nix-f180f7e86e29cd4cb8a4b992cc31e8b6f76a19da.zip
Add tlp for planets
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;
+ };
+ };
+}