MyNixOS website logo
option

services.grafana.provision.alerting.templates.settings

Grafana templates configuration in Nix. Can't be used with simultaneously. See https://grafana.com/docs/grafana/latest/administration/provisioning/#templates for supported options.

Declarations
Type
null or (submodule)
Default
null
Example
{
  apiVersion = 1;

  templates = [{
    orgId = 1;
    name = "my_first_template";
    template = "Alerting with a custom text template";
  }];

  deleteTemplates = [{
    orgId = 1;
    name = "my_first_template";
  }];
}