services.logind.suspendKey

Specifies what to do when the suspend key is pressed.

Type
one of "ignore", "poweroff", "reboot", "halt", "kexec", "suspend", "hibernate", "hybrid-sleep", "suspend-then-hibernate", "sleep", "lock"
Default
"suspend"
Example
"ignore"
Declared
<nixpkgs/nixos/modules/system/boot/systemd/logind.nix>