From 0e52016eca1fe650b1f51f0635063c7eff8ec56a Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Thu, 17 Sep 2026 18:11:52 -0500 Subject: add charge threshold for T430 and set desktop dir to null --- hosts/T430/configuration.nix | 9 +++++++++ users/timmy/home.nix | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3