MyNixOS website logo
option

services.grafana.provision.datasources.settings

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

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

  datasources = [{
    name = "Graphite";
    type = "graphite";
  }];

  deleteDatasources = [{
    name = "Graphite";
    orgId = 1;
  }];
}