about summary refs log tree commit diff
path: root/users/tazjin/nixos/tverskoy
diff options
context:
space:
mode:
Diffstat (limited to 'users/tazjin/nixos/tverskoy')
-rw-r--r--users/tazjin/nixos/tverskoy/default.nix9
1 files changed, 2 insertions, 7 deletions
diff --git a/users/tazjin/nixos/tverskoy/default.nix b/users/tazjin/nixos/tverskoy/default.nix
index f07c5cb709dc..b8cd20380ae9 100644
--- a/users/tazjin/nixos/tverskoy/default.nix
+++ b/users/tazjin/nixos/tverskoy/default.nix
@@ -177,13 +177,8 @@ lib.fix (self: {
       SUBSYSTEM=="i2c-dev", ACTION=="add", DEVPATH=="/devices/pci0000:00/0000:00:08.1/0000:06:00.0/i2c-5/i2c-dev/i2c-5", SYMLINK+="i2c-amdgpu-dm", TAG+="uaccess"
     '';
 
-    # Configure TLP to keep battery charge between 40-70% while
-    # plugged in to the wall (thanks etu for the recommendation).
-    tlp = {
-      enable = true;
-      settings.START_CHARGE_THRESH_BAT0 = 40;
-      settings.STOP_CHARGE_THRESH_BAT0 = 70;
-    };
+    # Enable power-saving features.
+    tlp.enable = true;
 
     xserver = {
       enable = true;