services.autosuspend.settings.suspend_cmd

NixOS option

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 in: nixos/modules/services/misc/autosuspend.nixView source on NixOS/nixpkgs →