From 84ff6645d8f3dcae3b21528101ca956a31b56b05 Mon Sep 17 00:00:00 2001 From: niten Date: Tue, 9 May 2023 16:31:39 -0700 Subject: [PATCH] port is an int, use toString --- module.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module.nix b/module.nix index 33e58ac..7cb2795 100644 --- a/module.nix +++ b/module.nix @@ -53,7 +53,7 @@ in { ExecStart = pkgs.writeShellScript "tattler.sh" (concatStringsSep " " ([ "tattler" "--mqtt-host=${cfg.mqtt.host}" - "--mqtt-port=${cfg.mqtt.port}" + "--mqtt-port=${toString cfg.mqtt.port}" "--notification-topic=${cfg.notification-topic}" ] ++ (optional cfg.verbose "--verbose") ++ (optional (cfg.mqtt.user != null) "--mqtt-user=${cfg.mqtt.user}")