slab: use shutdown for hibernate
This commit is contained in:
parent
9fc2a0198c
commit
22bb5eb564
@ -110,6 +110,11 @@
|
|||||||
unitConfig.DefaultDependencies = "no";
|
unitConfig.DefaultDependencies = "no";
|
||||||
});
|
});
|
||||||
|
|
||||||
|
# might make hibernate better idk
|
||||||
|
systemd.sleep.extraConfig = ''
|
||||||
|
disk=shutdown
|
||||||
|
'';
|
||||||
|
|
||||||
services.logind = {
|
services.logind = {
|
||||||
lidSwitch = "lock";
|
lidSwitch = "lock";
|
||||||
suspendKey = "hibernate";
|
suspendKey = "hibernate";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user