From 90e924c0832bcb5391fa5dd7440284f14de1a9d5 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Wed, 18 Jan 2023 04:04:42 +0100 Subject: [PATCH] synapse: also generate metric config for the master node --- hosts/jokum/services/matrix/synapse.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/jokum/services/matrix/synapse.nix b/hosts/jokum/services/matrix/synapse.nix index f8682ea..195cfb7 100644 --- a/hosts/jokum/services/matrix/synapse.nix +++ b/hosts/jokum/services/matrix/synapse.nix @@ -210,7 +210,7 @@ in { (lib.mapAttrsToList (_: v: v)) (map (w: "${w.type}/${toString w.index}")) (map (w: "matrix.pvv.ntnu.no/metrics/${w}")) - ]; + ] ++ [ "matrix.pvv.ntnu.no/metrics/master/1" ]; in { alias = pkgs.writeTextDir "/config.json" (builtins.toJSON [