From 5984b39f690388e46d4564db5ebc9bfb491548a3 Mon Sep 17 00:00:00 2001 From: Bloxx12 Date: Mon, 26 May 2025 10:10:34 +0200 Subject: [PATCH] grafana: fix path to dashboards --- modules/services/grafana/module.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/services/grafana/module.nix b/modules/services/grafana/module.nix index 5291f5c..1a73e5a 100644 --- a/modules/services/grafana/module.nix +++ b/modules/services/grafana/module.nix @@ -71,15 +71,15 @@ in { { # taken from https://grafana.com/grafana/dashboards/1860-node-exporter-full/ name = "system-status"; - path = fetchurl { + options.path = fetchurl { url = "https://grafana.com/api/dashboards/1860/revisions/40/download"; sha256 = "sha256-zTsS/UEX6W8+qK3l2GtvdDfmwS8eVnnyZxZ++LtRLBA="; }; } { - # taken from https://grafana.com/grafana/dashboards/1860-node-exporter-full/ + # taken from https://grafana.com/grafana/dashboards/9628-postgresql-database/ name = "PostgreSQL-status"; - path = fetchurl { + options.path = fetchurl { url = "https://grafana.com/api/dashboards/9628/revisions/8/download"; sha256 = "sha256-UhusNAZbyt7fJV/DhFUK4FKOmnTpG0R15YO2r+nDnMc="; };