MyNixOS website logo
option

services.logind.hibernateKeyLongPress

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

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