Suspend then hibernate on lid switch

This commit is contained in:
Natsu Kagami 2024-09-28 14:25:10 +02:00
parent 6a1deaae36
commit 5cc543c9db
Signed by: nki
GPG key ID: 55A032EB38B49ADB

View file

@ -42,7 +42,7 @@
services.power-profiles-daemon.enable = true;
# powerManagement.enable = true;
# powerManagement.powertop.enable = true;
services.logind.lidSwitch = "suspend";
services.logind.lidSwitch = "suspend-then-hibernate";
# Printing
services.printing.drivers = with pkgs; [ epfl-cups-drivers ];