From 1ad90f41be20c88d9d5bd404750147e8221e23bd Mon Sep 17 00:00:00 2001 From: Florian Sesser <florian@private.storage> Date: Thu, 8 Jul 2021 13:46:58 +0000 Subject: [PATCH] Use real webserver name ... we'll need this later for the TLS cert. --- morph/lib/customize-monitoring.nix | 2 ++ morph/lib/monitoring.nix | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/morph/lib/customize-monitoring.nix b/morph/lib/customize-monitoring.nix index 05fe4510..906e900a 100644 --- a/morph/lib/customize-monitoring.nix +++ b/morph/lib/customize-monitoring.nix @@ -59,5 +59,7 @@ inherit paymentExporterTargets; }; + services.private-storage.monitoring.grafana.domain = "${config.networking.hostName}.${config.networking.domain}"; + system.stateVersion = stateVersion; } diff --git a/morph/lib/monitoring.nix b/morph/lib/monitoring.nix index b48820f0..f3358f8c 100644 --- a/morph/lib/monitoring.nix +++ b/morph/lib/monitoring.nix @@ -30,7 +30,6 @@ rec { ]; services.private-storage.monitoring.grafana = { - domain = "monitoring.private.storage"; prometheusUrl = "http://localhost:9090/"; lokiUrl = "http://localhost:3100/"; }; -- GitLab