diff options
Diffstat (limited to 'hosts/T430')
| -rw-r--r-- | hosts/T430/configuration.nix | 9 |
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; |
