about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSilvan Mosberger <infinisil@icloud.com>2018-10-28 22:18:39 +0100
committerGitHub <noreply@github.com>2018-10-28 22:18:39 +0100
commit04b4ca37bd836aab790684c09319c05e7f3a84df (patch)
tree1dd78471ebe2ec7dcdae5cd888ed55384f17d696
parent0ab2621a7fe33cf1a1238c13e1964560e0d67b27 (diff)
parent8520839b6a48c090ea3f29dd334b1ba4744b45a7 (diff)
downloadnixlib-04b4ca37bd836aab790684c09319c05e7f3a84df.tar
nixlib-04b4ca37bd836aab790684c09319c05e7f3a84df.tar.gz
nixlib-04b4ca37bd836aab790684c09319c05e7f3a84df.tar.bz2
nixlib-04b4ca37bd836aab790684c09319c05e7f3a84df.tar.lz
nixlib-04b4ca37bd836aab790684c09319c05e7f3a84df.tar.xz
nixlib-04b4ca37bd836aab790684c09319c05e7f3a84df.tar.zst
nixlib-04b4ca37bd836aab790684c09319c05e7f3a84df.zip
Merge pull request #49360 from tadfisher/logind-suspend-then-hibernate
nixos/systemd: support "suspend-then-hibernate" logind option
-rw-r--r--nixos/modules/system/boot/systemd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix
index 3d9fa53ce522..89f8e8153550 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