services.webhook.hooks
The actual configuration of which hooks will be served.
Read more on the project homepage and on the hook definition page. At least one hook needs to be configured.
- Type
attribute set of (open submodule of (JSON value))- Default
{ }- Example
{ echo = { execute-command = "echo"; response-message = "Webhook is reachable!"; }; redeploy-webhook = { command-working-directory = "/var/webhook"; execute-command = "/var/scripts/redeploy.sh"; }; }- Declared
- <nixpkgs/nixos/modules/services/networking/webhook.nix>