port is an int, use toString

This commit is contained in:
niten 2023-05-09 16:31:39 -07:00
parent 04daefbeeb
commit 84ff6645d8
1 changed files with 1 additions and 1 deletions

View File

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