From 2ebfe7241362c5a6d7bc7a7004075d601fb9c06e Mon Sep 17 00:00:00 2001 From: Madeleine Sydney Date: Mon, 21 Apr 2025 23:13:13 -0600 Subject: [PATCH] feat(mpd): Cantata config --- modules/home/users/crumb/mpd.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/modules/home/users/crumb/mpd.nix b/modules/home/users/crumb/mpd.nix index eafd2f7..577f3ab 100644 --- a/modules/home/users/crumb/mpd.nix +++ b/modules/home/users/crumb/mpd.nix @@ -24,6 +24,30 @@ in { (config.xdg.dataHome)); in [ "${xdg-data-home}/cantata" ]; + + xdg.configFile."cantata/cantata.conf".text = '' + [General] + fetchCovers=true + storeCoversInMpdDir=true + version=2.5.0 + + [Connection] + allowLocalStreaming=true + applyReplayGain=true + autoUpdate=false + dir=~/Music/ + host=localhost + partition=default + passwd= + port=6600 + streamUrl= + + [LibraryPage] + artist\gridZoom=100 + artist\searchActive=false + artist\viewMode=detailedtree + ''; + sydnix.mpd = { enable = true; discord.enable = true;