port is an int, use toString
This commit is contained in:
parent
04daefbeeb
commit
84ff6645d8
|
@ -53,7 +53,7 @@ in {
|
||||||
ExecStart = pkgs.writeShellScript "tattler.sh" (concatStringsSep " " ([
|
ExecStart = pkgs.writeShellScript "tattler.sh" (concatStringsSep " " ([
|
||||||
"tattler"
|
"tattler"
|
||||||
"--mqtt-host=${cfg.mqtt.host}"
|
"--mqtt-host=${cfg.mqtt.host}"
|
||||||
"--mqtt-port=${cfg.mqtt.port}"
|
"--mqtt-port=${toString cfg.mqtt.port}"
|
||||||
"--notification-topic=${cfg.notification-topic}"
|
"--notification-topic=${cfg.notification-topic}"
|
||||||
] ++ (optional cfg.verbose "--verbose")
|
] ++ (optional cfg.verbose "--verbose")
|
||||||
++ (optional (cfg.mqtt.user != null) "--mqtt-user=${cfg.mqtt.user}")
|
++ (optional (cfg.mqtt.user != null) "--mqtt-user=${cfg.mqtt.user}")
|
||||||
|
|
Loading…
Reference in New Issue