mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: adds sleep-then-hibernate to sakura
This commit is contained in:
parent
e8536922d7
commit
42cc781bd7
1 changed files with 4 additions and 0 deletions
|
|
@ -71,6 +71,10 @@
|
|||
${pkgs.fw-ectool}/bin/ectool led battery auto
|
||||
'';
|
||||
};
|
||||
systemd.sleep.extraConfig = ''
|
||||
HibernateDelaySec=30m
|
||||
'';
|
||||
services.logind.lidSwitch = "suspend-then-hibernate";
|
||||
boot = {
|
||||
plymouth.enable = true;
|
||||
kernelParams = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue