feat(nix-hm): handle xdg setup via nix home manager

This commit is contained in:
Price Hiller 2024-01-16 16:44:23 -06:00
parent 807893821f
commit 22b85b469e
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -105,11 +105,17 @@ in
};
};
xdg = {
enable = true;
mime.enable = true;
};
programs = {
zsh = {
enable = true;
initExtra = ''
source "$HOME/.config/zsh/zsh"
export XDG_DATA_DIRS="$HOME/.nix-profile/share:$XDG_DATA_DIRS"
__HM_SESS_VARS_SOURCED= source "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh"
'';
};