Fix mpd configuration (enclosing quotes needed).

This commit is contained in:
koral 2015-03-14 12:08:22 +00:00
parent e09c725b0e
commit 9c4cbaa553

View File

@ -17,10 +17,10 @@ let
log_file "syslog" log_file "syslog"
user "${cfg.user}" user "${cfg.user}"
group "${cfg.group}" group "${cfg.group}"
${if cfg.network.host != "any" then
"bind_to_address ${cfg.network.host}" else ""} ${optionalString (cfg.network.host != "any") ''bind_to_address "${cfg.network.host}"''}
${if cfg.network.port != 6600 then ${optionalString (cfg.network.port != 6600) ''port "${toString cfg.network.port}"''}
"port ${toString cfg.network.port}" else ""}
${cfg.extraConfig} ${cfg.extraConfig}
''; '';