MyNixOS website logo
option

services.logind.rebootKeyLongPress

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

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