MyNixOS website logo
option

services.logind.suspendKey

Specifies what to do when the suspend key is pressed.

Declarations
Type
one of "ignore", "poweroff", "reboot", "halt", "kexec", "suspend", "hibernate", "hybrid-sleep", "suspend-then-hibernate", "lock"
Default
"suspend"
Example
"ignore"