From 2e2a7bb1f640def9d627af8cc194faf7d911d8bf Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Sun, 28 Aug 2022 21:14:14 +0300 Subject: 2022-08-28 --- configurations/manwe/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'configurations/manwe') diff --git a/configurations/manwe/default.nix b/configurations/manwe/default.nix index bb54c1b..4f6b8ef 100644 --- a/configurations/manwe/default.nix +++ b/configurations/manwe/default.nix @@ -52,10 +52,10 @@ with lib; { job_name = "endlessh-go"; static_configs = [ { - targets = with config.nixfiles.modules.endlessh-go; [ - "${manwe.hostname}:${toString prometheusPort}" - "${varda.hostname}:${toString prometheusPort}" - "${yavanna.hostname}:${toString prometheusPort}" + targets = with config.services.endlessh-go.prometheus; [ + "${manwe.hostname}:${toString port}" + "${varda.hostname}:${toString port}" + "${yavanna.hostname}:${toString port}" ]; } ]; -- cgit 1.4.1