lifebook: set suspend-then-hibernate with delaytime 1h
This commit is contained in:
parent
0f3a2e0e52
commit
ea282c6237
@ -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;
|
||||
|
@ -43,8 +43,8 @@
|
||||
zramSwap.enable = true;
|
||||
|
||||
powerManagement = {
|
||||
powerDownCommands = "rmmod intel_lpss_pci";
|
||||
resumeCommands = "modprobe intel_lpss_pci";
|
||||
powerDownCommands = "${pkgs.kmod}/bin/rmmod intel_lpss_pci";
|
||||
resumeCommands = "${pkgs.kmod}/bin/modprobe intel_lpss_pci";
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user