summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts/T430/configuration.nix9
-rw-r--r--users/timmy/home.nix2
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;