diff options
author | Aspen Smith <root@gws.fyi> | 2024-03-31T16·54-0400 |
---|---|---|
committer | aspen <root@gws.fyi> | 2024-03-31T19·32+0000 |
commit | 3ba0948906d7582e96a01cdaa55b24896d40f67c (patch) | |
tree | 455141a654a49d77ebc8fbf515cda20785328b35 /users/aspen/system | |
parent | 35a96b47d5f4decfd58c152fa69dd629d64e7c38 (diff) |
fix(aspen/system): Use suspend-then-hibernate for lid close r/7832
Change-Id: I07b8cea035050ff90fbb851e4f6401285514db1a Reviewed-on: https://cl.tvl.fyi/c/depot/+/11293 Reviewed-by: aspen <root@gws.fyi> Autosubmit: aspen <root@gws.fyi> Tested-by: BuildkiteCI
Diffstat (limited to 'users/aspen/system')
-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; }; } |