summaryrefslogtreecommitdiff
path: root/hosts/T430/configuration.nix
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2026-09-17 18:11:52 -0500
committerTim Keller <tjk@tjkeller.xyz>2026-09-17 18:11:52 -0500
commit0e52016eca1fe650b1f51f0635063c7eff8ec56a (patch)
tree26d3b2d26a22f3c4628807a2f95849c461ed7e37 /hosts/T430/configuration.nix
parent3af6673ab362675a85bb6bb4cf0f7706ae6bdfab (diff)
downloadnixos-0e52016eca1fe650b1f51f0635063c7eff8ec56a.tar.xz
nixos-0e52016eca1fe650b1f51f0635063c7eff8ec56a.zip
add charge threshold for T430 and set desktop dir to nullHEADmaster
Diffstat (limited to 'hosts/T430/configuration.nix')
-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;