diff options
author | Soispha <soispha@vhack.eu> | 2023-06-27 17:54:14 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-06-27 17:54:14 +0200 |
commit | eb439ea06fa96bc3b8ed935a45d7eddb06a570c2 (patch) | |
tree | 2b23e5c351db7048731264c081e3f8aa13a834ed /home-manager/config/zsh | |
parent | Fix(hm/conf/mpd): Set MPD_HOST variable for mpd clients (diff) | |
download | nixos-config-eb439ea06fa96bc3b8ed935a45d7eddb06a570c2.tar.gz nixos-config-eb439ea06fa96bc3b8ed935a45d7eddb06a570c2.zip |
Fix(hm/conf/mpd): Remove hardcoded uid in host path
Diffstat (limited to 'home-manager/config/zsh')
-rw-r--r-- | home-manager/config/zsh/default.nix | 3 |
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"; |