mpd/ncmpcpp: Use host from mpd module
This commit is contained in:
parent
b3d28b4752
commit
b855ed533d
|
@ -34,7 +34,7 @@ lib.mkIf nixosConfig.sbruder.gui.enable {
|
||||||
mpdMusicDir = null; # does not work (not of type `null or path')
|
mpdMusicDir = null; # does not work (not of type `null or path')
|
||||||
settings = {
|
settings = {
|
||||||
# Connection
|
# Connection
|
||||||
mpd_host = "${config.services.mpd.dataDir}/socket";
|
mpd_host = config.services.mpd.network.listenAddress;
|
||||||
|
|
||||||
# Visualizer
|
# Visualizer
|
||||||
visualizer_fifo_path = "${config.services.mpd.dataDir}/fifo";
|
visualizer_fifo_path = "${config.services.mpd.dataDir}/fifo";
|
||||||
|
|
Loading…
Reference in a new issue