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
1 changed files with 1 additions and 1 deletions

View File

@ -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";
};
};