From 8520839b6a48c090ea3f29dd334b1ba4744b45a7 Mon Sep 17 00:00:00 2001 From: Tad Fisher Date: Sun, 28 Oct 2018 13:41:21 -0700 Subject: [PATCH] nixos/systemd: support "suspend-then-hibernate" logind option --- nixos/modules/system/boot/systemd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix index a1412bc32904..8bf5f1d4303d 100644 --- a/nixos/modules/system/boot/systemd.nix +++ b/nixos/modules/system/boot/systemd.nix @@ -387,7 +387,7 @@ let logindHandlerType = types.enum [ "ignore" "poweroff" "reboot" "halt" "kexec" "suspend" - "hibernate" "hybrid-sleep" "lock" + "hibernate" "hybrid-sleep" "suspend-then-hibernate" "lock" ]; in