about summary refs log tree commit diff stats
path: root/home-manager/config/mpd/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home-manager/config/mpd/default.nix')
-rw-r--r--home-manager/config/mpd/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/home-manager/config/mpd/default.nix b/home-manager/config/mpd/default.nix
index 013fe547..4e5195b6 100644
--- a/home-manager/config/mpd/default.nix
+++ b/home-manager/config/mpd/default.nix
@@ -1,6 +1,7 @@
 {
   config,
   pkgs,
+  nixosSystemConfig,
   ...
 }: let
   dataDir = "${config.xdg.dataHome}/mpd";
@@ -10,7 +11,7 @@ in {
     inherit dataDir;
     musicDirectory = "~/media/music";
     network = {
-      listenAddress = "${dataDir}/socket";
+      listenAddress = "/run/user/1000/socket"; # TODO don't hardcode uid
     };
     extraConfig = ''
       metadata_to_use	"artist,album,title,track,name,genre,date,composer,performer,disc,comment"