From fb5861b079d2da0933a6352d14ca5871c7e2e25b Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Wed, 17 Aug 2022 22:48:21 +0200 Subject: [PATCH] mpd: Store playlists in Music directory --- users/simon/modules/mpd.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/users/simon/modules/mpd.nix b/users/simon/modules/mpd.nix index 7e3a362..59dccdb 100644 --- a/users/simon/modules/mpd.nix +++ b/users/simon/modules/mpd.nix @@ -6,7 +6,8 @@ lib.mkIf nixosConfig.sbruder.gui.enable { services.mpd = { enable = true; package = pkgs.mpd; - musicDirectory = "~/Music"; + musicDirectory = "${config.home.homeDirectory}/Music"; + playlistDirectory = "${config.services.mpd.musicDirectory}/playlists"; network.listenAddress = "${config.services.mpd.dataDir}/socket"; extraConfig = '' zeroconf_enabled "no"