weather: use source of truth for port

This commit is contained in:
Motiejus Jakštys 2024-09-15 07:47:47 +03:00
parent 49d5f1200c
commit a094145cec

View File

@ -96,7 +96,7 @@ in
]; ];
serviceConfig = { serviceConfig = {
type = "simple"; type = "simple";
ExecStart = "${pkgs.weather}/bin/weather"; ExecStart = "${pkgs.weather}/bin/weather -l 127.0.0.1:${toString myData.ports.exporters.weather}";
ProtectSystem = "strict"; ProtectSystem = "strict";
}; };
}; };