anemone/kernel: fix hibernation not shutting down
This commit is contained in:
parent
ffb3659357
commit
9f525a8756
1 changed files with 3 additions and 0 deletions
|
|
@ -28,6 +28,9 @@
|
||||||
size = 16 * 1024;
|
size = 16 * 1024;
|
||||||
}];
|
}];
|
||||||
|
|
||||||
|
systemd.sleep.extraConfig = ''
|
||||||
|
HibernateMode=shutdown
|
||||||
|
'';
|
||||||
/*
|
/*
|
||||||
services.logind.lidSwitch = "suspend-then-hibernate";
|
services.logind.lidSwitch = "suspend-then-hibernate";
|
||||||
systemd.sleep.extraConfig = ''
|
systemd.sleep.extraConfig = ''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue