mirror of
https://github.com/NotAShelf/air-quality-monitor.git
synced 2024-11-22 13:20:48 +00:00
add missing port variable to systemd service
This commit is contained in:
parent
8426341a37
commit
13feebd493
1 changed files with 1 additions and 0 deletions
|
@ -113,6 +113,7 @@ in {
|
||||||
|
|
||||||
systemd.services."pi-air-quality-monitor" = let
|
systemd.services."pi-air-quality-monitor" = let
|
||||||
globalEnv = pkgs.writeText "global.env" ''
|
globalEnv = pkgs.writeText "global.env" ''
|
||||||
|
PORT=${toString cfg.settings.port}
|
||||||
SERIAL_DEVICE=${cfg.settings.serialPort}
|
SERIAL_DEVICE=${cfg.settings.serialPort}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue