diff --git a/host/modules/thinkpad.nix b/host/modules/thinkpad.nix index a2f65f8..cbcf215 100644 --- a/host/modules/thinkpad.nix +++ b/host/modules/thinkpad.nix @@ -44,8 +44,8 @@ fprintd.enable = true; logind.settings.Login = { - HandleLidSwitch = "suspend"; - HandleLidSwitchExternalPower = "suspend"; + HandleLidSwitch = "suspend-then-hibernate"; + HandleLidSwitchExternalPower = "suspend-then-hibernate"; HandlePowerKey = "poweroff"; };