From 22b85b469eba8f1e7916953a85ff6f7950fc3e85 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Tue, 16 Jan 2024 16:44:23 -0600 Subject: [PATCH] feat(nix-hm): handle xdg setup via nix home manager --- config/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/default.nix b/config/default.nix index d1d02618..3b2c63f4 100644 --- a/config/default.nix +++ b/config/default.nix @@ -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" ''; };