anemone/kernel: disable suspend-then-hibernate

really buggy, couldn't ever get it working properly

system goes to sleep, but never wakes up to hibernate

when waking up from sleep after the specified time, only then will it
start to hibernate, which takes like a minute that I have to wait for

not to mention it has a bug where after hibernation the machine stays
on, so i have to force it off and restart it..... bruh
This commit is contained in:
LavaDesu 2025-04-15 21:15:16 +10:00
parent 90febfba6e
commit e7724c0212
Signed by: cilly
GPG key ID: 6500251E087653C9

View file

@ -28,12 +28,14 @@
size = 16 * 1024; size = 16 * 1024;
}]; }];
/*
services.logind.lidSwitch = "suspend-then-hibernate"; services.logind.lidSwitch = "suspend-then-hibernate";
systemd.sleep.extraConfig = '' systemd.sleep.extraConfig = ''
HibernateDelaySec=14400 HibernateDelaySec=14400
SuspendEstimationSec=3600 SuspendEstimationSec=3600
HibernateOnACPower=true HibernateOnACPower=true
''; '';
*/
powerManagement.cpufreq.min = 400000; powerManagement.cpufreq.min = 400000;