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}"; }) ]; };