services.prometheus.sachet.configuration
NixOS option
Sachet’s configuration as a nix attribute set.
type: null or (attribute set)Default
null
Example
declared in: nixos/modules/services/monitoring/prometheus/sachet.nixView source on NixOS/nixpkgs →{
providers = {
twilio = {
# environment variables gets expanded at runtime
account_sid = "$TWILIO_ACCOUNT";
auth_token = "$TWILIO_TOKEN";
};
};
templates = [ ./some-template.tmpl ];
receivers = [{
name = "pager";
provider = "twilio";
to = [ "+33123456789" ];
text = "{{ template \"message\" . }}";
}];
}