nixos/parsedmarc: fix Grafana provisioning
The options' structure was changed in 957e368f3d
This commit is contained in:
parent
70acfaebf2
commit
d2dcc7a169
1 changed files with 2 additions and 2 deletions
|
@ -409,7 +409,7 @@ in
|
|||
|
||||
provision = {
|
||||
enable = cfg.provision.grafana.datasource || cfg.provision.grafana.dashboard;
|
||||
datasources =
|
||||
datasources.settings.datasources =
|
||||
let
|
||||
esVersion = lib.getVersion config.services.elasticsearch.package;
|
||||
in
|
||||
|
@ -435,7 +435,7 @@ in
|
|||
};
|
||||
}
|
||||
];
|
||||
dashboards = lib.mkIf cfg.provision.grafana.dashboard [{
|
||||
dashboards.settings.providers = lib.mkIf cfg.provision.grafana.dashboard [{
|
||||
name = "parsedmarc";
|
||||
options.path = "${pkgs.python3Packages.parsedmarc.dashboard}";
|
||||
}];
|
||||
|
|
Loading…
Reference in a new issue