summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/T430/configuration.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/hosts/T430/configuration.nix b/hosts/T430/configuration.nix
index 929bab5..fc0c1dc 100644
--- a/hosts/T430/configuration.nix
+++ b/hosts/T430/configuration.nix
@@ -25,6 +25,15 @@
};
};
+ # Configure charge threshold for battery
+ services.tlp = {
+ enable = true;
+ settings = {
+ START_CHARGE_THRESH_BAT0 = 55;
+ STOP_CHARGE_THRESH_BAT0 = 80;
+ };
+ };
+
# Enable user timmy
_users.timmy = {
enable = true;