From b855ed533d8d317cfdb7e8d01a1c8fb75019b091 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sat, 27 Feb 2021 17:50:14 +0100 Subject: [PATCH] mpd/ncmpcpp: Use host from mpd module --- users/simon/modules/mpd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/simon/modules/mpd.nix b/users/simon/modules/mpd.nix index 96d50a3..83b4987 100644 --- a/users/simon/modules/mpd.nix +++ b/users/simon/modules/mpd.nix @@ -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";