From 13feebd4935752967f0bc7ae6e2ae13399c8cb93 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Wed, 29 Nov 2023 04:30:51 +0300 Subject: [PATCH] add missing port variable to systemd service --- nix/module.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nix/module.nix b/nix/module.nix index 494335b..1bb8cdc 100644 --- a/nix/module.nix +++ b/nix/module.nix @@ -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} '';