about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--users/aspen/system/system/modules/laptop.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/users/aspen/system/system/modules/laptop.nix b/users/aspen/system/system/modules/laptop.nix
index 489b6cbc0459..89c880973d80 100644
--- a/users/aspen/system/system/modules/laptop.nix
+++ b/users/aspen/system/system/modules/laptop.nix
@@ -4,7 +4,7 @@
   services.logind = {
     powerKey = "hibernate";
     powerKeyLongPress = "poweroff";
-    lidSwitch = "hybrid-sleep";
+    lidSwitch = "suspend-then-hibernate";
     lidSwitchExternalPower = "ignore";
   };
 
@@ -18,5 +18,6 @@
   services.upower = {
     enable = true;
     criticalPowerAction = "Hibernate";
+    percentageAction = 3;
   };
 }