From a5b9929e27f54a73ab0547318438181b2e736fd1 Mon Sep 17 00:00:00 2001 From: Bloxx12 Date: Wed, 9 Apr 2025 15:31:18 +0200 Subject: [PATCH] grafana/module.nix: change urls of provisions to localhost --- modules/services/grafana/module.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/services/grafana/module.nix b/modules/services/grafana/module.nix index afeccb7..cbfd504 100644 --- a/modules/services/grafana/module.nix +++ b/modules/services/grafana/module.nix @@ -54,7 +54,7 @@ in { name = "Prometheus"; type = "prometheus"; access = "proxy"; - url = "http://127.0.0.1:${toString config.services.prometheus.port}"; + url = "localhost:${toString config.services.prometheus.port}"; isDefault = true; }) @@ -62,7 +62,7 @@ in { name = "PostgreSQL"; type = "postgres"; access = "proxy"; - url = "http://127.0.0.1:${toString config.services.prometheus.exporters.postgres.port}"; + url = "localhost:${toString config.services.prometheus.exporters.postgres.port}"; }) ]; };