slab: use shutdown for hibernate

This commit is contained in:
NullBite 2024-06-29 00:25:26 -04:00
parent 9fc2a0198c
commit 22bb5eb564
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A

View File

@ -110,6 +110,11 @@
unitConfig.DefaultDependencies = "no";
});
# might make hibernate better idk
systemd.sleep.extraConfig = ''
disk=shutdown
'';
services.logind = {
lidSwitch = "lock";
suspendKey = "hibernate";