summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pc_t14.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/pc_t14.nix b/pc_t14.nix
index 95c8999..06144b0 100644
--- a/pc_t14.nix
+++ b/pc_t14.nix
@@ -53,7 +53,13 @@
};
services = {
- tlp.enable = true;
+ tlp = {
+ enable = true;
+ settings = {
+ START_CHARGE_THRESH_BAT0 = 80;
+ STOP_CHARGE_THRESH_BAT0 = 85;
+ };
+ };
xserver.videoDrivers = ["amdgpu"];
};