From cf50ecc758a1cf075f5d5efc1a43b3ce3126cbd8 Mon Sep 17 00:00:00 2001 From: prescientmoon Date: Sat, 24 Feb 2024 06:53:31 +0100 Subject: [PATCH] Fix grafana datasource format --- hosts/nixos/lapetus/services/grafana.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/nixos/lapetus/services/grafana.nix b/hosts/nixos/lapetus/services/grafana.nix index 7988191..33ca90f 100644 --- a/hosts/nixos/lapetus/services/grafana.nix +++ b/hosts/nixos/lapetus/services/grafana.nix @@ -43,12 +43,12 @@ in }; }; - datasources.settings.datasources.prometheus = { + datasources.settings.datasources = [{ name = "Prometheus"; type = "prometheus"; access = "proxy"; url = "prometheus.moonythm.dev"; - }; + }]; }; # }}} };