fix(aspen/system): Use suspend-then-hibernate for lid close

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
This commit is contained in:
Aspen Smith 2024-03-31 12:54:47 -04:00 committed by aspen
parent 35a96b47d5
commit 3ba0948906

View file

@ -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;
};
}