synapse: also generate metric config for the master node

This commit is contained in:
Daniel Lovbrotte Olsen 2023-01-18 04:04:42 +01:00
parent c8d26e3c81
commit 90e924c083

View File

@ -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 [