vanadium: don't suspend at all

This commit is contained in:
Primrose 2025-11-24 11:40:52 +08:00
parent 82e31ec76f
commit 41c68cb4fe
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA

View file

@ -1,11 +1,7 @@
{ {
systemd.sleep.extraConfig = ''
HibernateDelaySec=1d
'';
services.logind = { services.logind = {
powerKey = "hibernate"; # Note: vanadium's btrfs disk layout has been changed and the swap has been reduced. It will not work with hibernate anymore.
lidSwitch = "suspend-then-hibernate"; lidSwitch = "suspend";
lidSwitchDocked = "ignore"; lidSwitchDocked = "ignore";
}; };
} }