Skip to content

Commit e0258ad

Browse files
nixos/logind: add "sleep" option to logindHandlerType
The "systemctl sleep" command was added in systemd v256.
1 parent bcfa2a0 commit e0258ad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nixos/modules/system/boot/systemd/logind.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ let
1818
"hibernate"
1919
"hybrid-sleep"
2020
"suspend-then-hibernate"
21+
"sleep"
2122
"lock"
2223
];
2324
in

0 commit comments

Comments
 (0)