services.crowdsec.localConfig.notifications
NixOS option
A list of notifications to enable and use in your profiles. Note that for now, only the plugins shipped by default with CrowdSec are supported. See https://docs.crowdsec.net/docs/notification_plugins/intro for details.
type: list of (YAML 1.1 value)Default
[ ]
Example
declared in: nixos/modules/services/security/crowdsec.nixView source on NixOS/nixpkgs →[
{
format = ''
{{.|toJson}}
'';
log_level = "info";
method = "POST";
name = "default_http_notification";
type = "http";
url = "https://example.com/hook";
}
]