diff options
Diffstat (limited to 'users')
-rw-r--r-- | users/aspen/system/system/modules/laptop.nix | 3 |
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; }; } |