mpd/ncmpcpp: Use host from mpd module

This commit is contained in:
Simon Bruder 2021-02-27 17:50:14 +01:00
parent b3d28b4752
commit b855ed533d
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -34,7 +34,7 @@ lib.mkIf nixosConfig.sbruder.gui.enable {
mpdMusicDir = null; # does not work (not of type `null or path')
settings = {
# Connection
mpd_host = "${config.services.mpd.dataDir}/socket";
mpd_host = config.services.mpd.network.listenAddress;
# Visualizer
visualizer_fifo_path = "${config.services.mpd.dataDir}/fifo";