diff options
| author | Tim Keller <tjk@tjkeller.xyz> | 2026-09-17 18:11:52 -0500 |
|---|---|---|
| committer | Tim Keller <tjk@tjkeller.xyz> | 2026-09-17 18:11:52 -0500 |
| commit | 0e52016eca1fe650b1f51f0635063c7eff8ec56a (patch) | |
| tree | 26d3b2d26a22f3c4628807a2f95849c461ed7e37 | |
| parent | 3af6673ab362675a85bb6bb4cf0f7706ae6bdfab (diff) | |
| download | nixos-0e52016eca1fe650b1f51f0635063c7eff8ec56a.tar.xz nixos-0e52016eca1fe650b1f51f0635063c7eff8ec56a.zip | |
| -rw-r--r-- | hosts/T430/configuration.nix | 9 | ||||
| -rw-r--r-- | users/timmy/home.nix | 2 |
2 files changed, 10 insertions, 1 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; diff --git a/users/timmy/home.nix b/users/timmy/home.nix index 2957620..575f156 100644 --- a/users/timmy/home.nix +++ b/users/timmy/home.nix @@ -5,12 +5,12 @@ fullname = "Tim Keller"; home = "/home/${username}"; userDirs = { - desktop = "${home}"; download = "${home}/dls"; documents = "${home}/docs"; pictures = "${home}/pics"; projects = "${home}/docs/src"; # Set these as null so they're not created + desktop = null; music = null; publicShare = null; templates = null; |
