about summary refs log tree commit diff stats
path: root/modules/home/conf/mpd/default.nix
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-09 22:21:05 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-09 22:21:05 +0200
commitadef751df3753a3a30d92eaac30a07601a5e64a6 (patch)
treef1863ba6be1c043d2e6b3aaa809e8b3fd7868866 /modules/home/conf/mpd/default.nix
parentstyle(home/mpd): Normalize white space (diff)
downloadnixos-config-adef751df3753a3a30d92eaac30a07601a5e64a6.tar.gz
nixos-config-adef751df3753a3a30d92eaac30a07601a5e64a6.zip
fix(home/mpd): Use the beets music directory
Diffstat (limited to '')
-rw-r--r--modules/home/conf/mpd/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/home/conf/mpd/default.nix b/modules/home/conf/mpd/default.nix
index 5ec50645..b65d1dea 100644
--- a/modules/home/conf/mpd/default.nix
+++ b/modules/home/conf/mpd/default.nix
@@ -20,7 +20,7 @@ in {
   services.mpd = {
     enable = true;
     inherit dataDir;
-    musicDirectory = "~/media/music";
+    musicDirectory = config.programs.beets.settings.directory;
     network = {
       listenAddress = "${runtimeDir}/socket";
     };