Fix mpd configuration (enclosing quotes needed).
This commit is contained in:
parent
e09c725b0e
commit
9c4cbaa553
@ -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}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user