mpd: Store playlists in Music directory

This commit is contained in:
Simon Bruder 2022-08-17 22:48:21 +02:00
parent 23e3ba781c
commit fb5861b079
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

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