pkgs: fix grafanaDashboards access in flake

The `packages` output from the flake needs flake-utils' `flattenTree` to
be valid (because it doesn't support nested sets), but that only works
if I use `recurseIntoAttrs`.
This commit is contained in:
Antoine Martin 2021-07-14 21:09:26 +02:00
parent cc825d1e53
commit c7c87fcdb4
2 changed files with 3 additions and 3 deletions

View file

@ -38,12 +38,12 @@ in {
dashboards = [
{
name = "Node Exporter";
options.path = pkgs.packages.grafana-dashboards.node-exporter;
options.path = pkgs.packages.grafanaDashboards.node-exporter;
disableDeletion = true;
}
{
name = "NGINX";
options.path = pkgs.packages.grafana-dashboards.nginx;
options.path = pkgs.packages.grafanaDashboards.nginx;
disableDeletion = true;
}
];