lifebook: set suspend-then-hibernate with delaytime 1h

This commit is contained in:
2024-08-25 22:47:35 +02:00
parent 0f3a2e0e52
commit ea282c6237
2 changed files with 4 additions and 3 deletions

View File

@@ -65,8 +65,9 @@
light.enable = true;
};
systemd.sleep.extraConfig = "HibernateDelaySec=1h";
services = {
logind.lidSwitch = "suspend"; # Laptop does not go to sleep when lid is closed
logind.lidSwitch = "suspend-then-hibernate"; # Laptop does not go to sleep when lid is closed
blueman.enable = true;
printing = { # Printing and drivers for TS5300
enable = true;