fix typing
This commit is contained in:
parent
e03b06cf20
commit
88b6f30a59
|
@ -42,14 +42,14 @@
|
||||||
configFile = pkgs.writeText "config.ini" ''
|
configFile = pkgs.writeText "config.ini" ''
|
||||||
[ui]
|
[ui]
|
||||||
host=${cfg.ui.host}
|
host=${cfg.ui.host}
|
||||||
port=${cfg.ui.port}
|
port=${toString cfg.ui.port}
|
||||||
tls=${cfg.ui.tls}
|
tls=${if cfg.ui.tls then "true" else "false"}
|
||||||
certificate=${cfg.ui.certificate}
|
certificate=${cfg.ui.certificate}
|
||||||
key=${cfg.ui.key}
|
key=${cfg.ui.key}
|
||||||
|
|
||||||
[mpd]
|
[mpd]
|
||||||
host=${cfg.backend.host}
|
host=${cfg.backend.host}
|
||||||
port=${cfg.backend.port}
|
port=${toString cfg.backend.port}
|
||||||
'';
|
'';
|
||||||
execCommand = "${cfg.package}/bin/sanic -c '${configFile}'";
|
execCommand = "${cfg.package}/bin/sanic -c '${configFile}'";
|
||||||
in
|
in
|
||||||
|
|
Loading…
Reference in a new issue