MyNixOS website logo
option

services.logind.suspendKeyLongPress

Specifies what to do when the suspend key is long-pressed.

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