From 13e208b84c9d0479ed65e7e0189acd5441b297a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 22 Jul 2024 14:27:17 +0200 Subject: monitoring: fix urls in grafana alerts --- nixos/modules/monitoring.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'nixos/modules') diff --git a/nixos/modules/monitoring.nix b/nixos/modules/monitoring.nix index 394915a..e4fa195 100644 --- a/nixos/modules/monitoring.nix +++ b/nixos/modules/monitoring.nix @@ -78,7 +78,7 @@ in { nstat = [{}]; system = [{}]; processes = [{}]; - systemd_units = [{}]; + systemd_units = [{details = true;}]; wireguard = [{}]; } // (optionalAttrs cnf.drives { @@ -152,6 +152,8 @@ in { admin_password = "$__file{/run/secrets/grafana.admin.pass}"; }; server = { + domain = "grafana.cynerd.cz"; + root_url = "https://%(domain)s/"; http_addr = ""; http_port = 3000; }; -- cgit v1.2.3