anemone/kernel: use suspend-then-hibernate on lid close
This commit is contained in:
parent
79a6b783bc
commit
d99a56cd95
1 changed files with 7 additions and 0 deletions
|
|
@ -28,6 +28,13 @@
|
||||||
size = 16 * 1024;
|
size = 16 * 1024;
|
||||||
}];
|
}];
|
||||||
|
|
||||||
|
services.logind.lidSwitch = "suspend-then-hibernate";
|
||||||
|
systemd.sleep.extraConfig = ''
|
||||||
|
HibernateDelaySec=14400
|
||||||
|
SuspendEstimationSec=3600
|
||||||
|
HibernateOnACPower=false
|
||||||
|
'';
|
||||||
|
|
||||||
powerManagement.cpufreq.min = 400000;
|
powerManagement.cpufreq.min = 400000;
|
||||||
|
|
||||||
hardware.cpu.amd.updateMicrocode = true;
|
hardware.cpu.amd.updateMicrocode = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue