mpd/ncmpcpp: Use host from mpd module

pull/48/head
Simon Bruder 2021-02-27 17:50:14 +01:00
parent b3d28b4752
commit b855ed533d
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 1 additions and 1 deletions

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";