about summary refs log tree commit diff stats
path: root/home-manager/config/zsh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--home-manager/config/zsh/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/home-manager/config/zsh/default.nix b/home-manager/config/zsh/default.nix
index 54309cc8..c1c20899 100644
--- a/home-manager/config/zsh/default.nix
+++ b/home-manager/config/zsh/default.nix
@@ -4,6 +4,7 @@
   lib,
   shell_library,
   system,
+  osConfig,
   ...
 }: {
   # TODO ADD THIS ADDON
@@ -100,7 +101,7 @@
       BEMENU_BACKEND = "wayland";
       BEMENU_OPTS = "--fn 'Source Code Pro 10' -c -l 30 -B 1 -W 0.9 --hf #ffffff";
 
-      MPD_HOST = "/run/user/1000/mpd/socket";
+      MPD_HOST = "/run/user/${builtins.toString osConfig.users.users.soispha.uid}/mpd/socket";
 
       # Clean the home dir {{{
       CARGO_HOME = "${config.xdg.dataHome}/cargo";