Properly source home-manager vars in ZSH
diff --git a/modules/zsh.nix b/modules/zsh.nix
index 6f975b9..635388f 100644
--- a/modules/zsh.nix
+++ b/modules/zsh.nix
@@ -26,6 +26,9 @@
extended = true;
};
initExtra = ''
+ unset __HM_SESS_VARS_SOURCED
+ . "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh"
+
bindkey -v
bindkey "\'\'$\{key[Up]}" up-line-or-search
@@ -55,6 +58,8 @@
alias compinit="true"
+ ulimit -n 131072
+
source "${./zsh/completions/bun.zsh}"
source "${./zsh/completions/charm.zsh}"
'';