add missing port variable to systemd service

This commit is contained in:
raf 2023-11-29 04:30:51 +03:00
parent 8426341a37
commit 13feebd493
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29

View file

@ -113,6 +113,7 @@ in {
systemd.services."pi-air-quality-monitor" = let
globalEnv = pkgs.writeText "global.env" ''
PORT=${toString cfg.settings.port}
SERIAL_DEVICE=${cfg.settings.serialPort}
'';