From 126baae735259f6414e760f72538cb07ea281a13 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sat, 29 Jun 2024 18:37:03 -0400 Subject: [PATCH] add more services to grafana caddy list --- modules/nixos/services/grafana.nix | 44 ++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/modules/nixos/services/grafana.nix b/modules/nixos/services/grafana.nix index 8e17712..adb1321 100644 --- a/modules/nixos/services/grafana.nix +++ b/modules/nixos/services/grafana.nix @@ -885,6 +885,28 @@ in } ]; } + { + matcher = { + id = "byName"; + options = "localhost:8086"; + }; + properties = [ + { + id = "displayName"; + value = "InfluxDB"; + } + { + id = "links"; + value = [ + { + targetBlank = true; + title = ""; + url = "https://${config.hostnames.influxdb}"; + } + ]; + } + ]; + } { matcher = { id = "byName"; @@ -929,6 +951,28 @@ in } ]; } + { + matcher = { + id = "byName"; + options = "localhost:9000"; + }; + properties = [ + { + id = "displayName"; + value = "The Lounge"; + } + { + id = "links"; + value = [ + { + targetBlank = true; + title = ""; + url = "https://${config.hostnames.irc}"; + } + ]; + } + ]; + } { matcher = { id = "byName";