mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
vanadium: don't suspend at all
This commit is contained in:
parent
82e31ec76f
commit
41c68cb4fe
1 changed files with 2 additions and 6 deletions
|
|
@ -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";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue