aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hosts/common/optional/services/tlp.nix9
-rw-r--r--hosts/jupiter/default.nix1
-rw-r--r--hosts/neptune/default.nix1
-rw-r--r--hosts/saturn/default.nix1
-rw-r--r--hosts/uranus/default.nix1
5 files changed, 13 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;
+ };
+ };
+}
diff --git a/hosts/jupiter/default.nix b/hosts/jupiter/default.nix
index 412342b..2486fb1 100644
--- a/hosts/jupiter/default.nix
+++ b/hosts/jupiter/default.nix
@@ -25,6 +25,7 @@
../common/optional/services/fwupd.nix
../common/optional/services/nolid.nix
../common/optional/services/openssh.nix
+ ../common/optional/services/tlp.nix
../common/optional/zfs.nix
../common/users/nipsy
../common/users/root
diff --git a/hosts/neptune/default.nix b/hosts/neptune/default.nix
index 02453e7..df17c49 100644
--- a/hosts/neptune/default.nix
+++ b/hosts/neptune/default.nix
@@ -25,6 +25,7 @@
../common/optional/services/fwupd.nix
../common/optional/services/nolid.nix
../common/optional/services/openssh.nix
+ ../common/optional/services/tlp.nix
../common/optional/zfs.nix
../common/users/nipsy
../common/users/root
diff --git a/hosts/saturn/default.nix b/hosts/saturn/default.nix
index b05fc8a..10e199d 100644
--- a/hosts/saturn/default.nix
+++ b/hosts/saturn/default.nix
@@ -25,6 +25,7 @@
../common/optional/services/fwupd.nix
../common/optional/services/nolid.nix
../common/optional/services/openssh.nix
+ ../common/optional/services/tlp.nix
../common/optional/zfs.nix
../common/users/nipsy
../common/users/root
diff --git a/hosts/uranus/default.nix b/hosts/uranus/default.nix
index 0f0dd48..2256bc9 100644
--- a/hosts/uranus/default.nix
+++ b/hosts/uranus/default.nix
@@ -25,6 +25,7 @@
../common/optional/services/fwupd.nix
../common/optional/services/nolid.nix
../common/optional/services/openssh.nix
+ ../common/optional/services/tlp.nix
../common/optional/zfs.nix
../common/users/nipsy
../common/users/root