From a094145cec07e63e4f2039fd27f293d0d78018cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Sun, 15 Sep 2024 07:47:47 +0300 Subject: [PATCH] weather: use source of truth for port --- hosts/fwminex/configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/fwminex/configuration.nix b/hosts/fwminex/configuration.nix index 60a0a0e..1397b7b 100644 --- a/hosts/fwminex/configuration.nix +++ b/hosts/fwminex/configuration.nix @@ -96,7 +96,7 @@ in ]; serviceConfig = { type = "simple"; - ExecStart = "${pkgs.weather}/bin/weather"; + ExecStart = "${pkgs.weather}/bin/weather -l 127.0.0.1:${toString myData.ports.exporters.weather}"; ProtectSystem = "strict"; }; };