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="; };