services.autosuspend.settings.suspend_cmd

The command to execute in case the host shall be suspended. This line can contain additional command line arguments to the command to execute.

Type
string
Default
"systemctl suspend"
Declared
<nixpkgs/nixos/modules/services/misc/autosuspend.nix>