From e0258ad13517df3418167ea03d52e76f6b256e16 Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Mon, 10 Mar 2025 19:44:27 +0100 Subject: [PATCH] nixos/logind: add "sleep" option to logindHandlerType The "systemctl sleep" command was added in systemd v256. --- nixos/modules/system/boot/systemd/logind.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/system/boot/systemd/logind.nix b/nixos/modules/system/boot/systemd/logind.nix index 80457e51d216..456d0d99b075 100644 --- a/nixos/modules/system/boot/systemd/logind.nix +++ b/nixos/modules/system/boot/systemd/logind.nix @@ -18,6 +18,7 @@ let "hibernate" "hybrid-sleep" "suspend-then-hibernate" + "sleep" "lock" ]; in