From eb439ea06fa96bc3b8ed935a45d7eddb06a570c2 Mon Sep 17 00:00:00 2001 From: Soispha Date: Tue, 27 Jun 2023 17:54:14 +0200 Subject: Fix(hm/conf/mpd): Remove hardcoded uid in host path --- home-manager/config/zsh/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'home-manager/config/zsh') 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"; -- cgit 1.4.1