From 1e7c69b3ea7bd974d3685bc92a43a34186cc28c2 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sun, 18 Aug 2024 19:35:44 -0400 Subject: [PATCH] add missing paperless service in grafana --- modules/nixos/services/grafana.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/modules/nixos/services/grafana.nix b/modules/nixos/services/grafana.nix index adb1321..66e492c 100644 --- a/modules/nixos/services/grafana.nix +++ b/modules/nixos/services/grafana.nix @@ -1083,6 +1083,28 @@ in } ]; } + { + matcher = { + id = "byName"; + options = "localhost:${builtins.toString config.services.paperless.port}"; + }; + properties = [ + { + id = "displayName"; + value = "Paperless"; + } + { + id = "links"; + value = [ + { + targetBlank = true; + title = ""; + url = "https://${config.hostnames.paperless}"; + } + ]; + } + ]; + } ]; }; gridPos = {