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:
parent
35a96b47d5
commit
3ba0948906
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue