about summary refs log tree commit diff
path: root/configurations/manwe/default.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2022-08-28 21:14:14 +0300
committerAzat Bahawi <azat@bahawi.net>2022-08-28 21:14:14 +0300
commit2e2a7bb1f640def9d627af8cc194faf7d911d8bf (patch)
tree4252d60535ffed05bb5f304f6fb0b05226809d8a /configurations/manwe/default.nix
parent2022-08-25 (diff)
2022-08-28
Diffstat (limited to 'configurations/manwe/default.nix')
-rw-r--r--configurations/manwe/default.nix8
1 files changed, 4 insertions, 4 deletions
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}"
             ];
           }
         ];

Consider giving Nix/NixOS a try! <3