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}")