anemone/kernel: use suspend-then-hibernate on lid close

This commit is contained in:
LavaDesu 2025-03-17 22:02:49 +11:00
parent 79a6b783bc
commit d99a56cd95
Signed by: cilly
GPG key ID: 6500251E087653C9

View file

@ -28,6 +28,13 @@
size = 16 * 1024;
}];
services.logind.lidSwitch = "suspend-then-hibernate";
systemd.sleep.extraConfig = ''
HibernateDelaySec=14400
SuspendEstimationSec=3600
HibernateOnACPower=false
'';
powerManagement.cpufreq.min = 400000;
hardware.cpu.amd.updateMicrocode = true;