From 5cc543c9dbed529cf2c98da53cb6f2f23c3a46f7 Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Sat, 28 Sep 2024 14:25:10 +0200 Subject: [PATCH] Suspend then hibernate on lid switch --- nki-framework/configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nki-framework/configuration.nix b/nki-framework/configuration.nix index 4f6e5c3..2b34a6a 100644 --- a/nki-framework/configuration.nix +++ b/nki-framework/configuration.nix @@ -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 ];