aboutsummaryrefslogtreecommitdiffhomepage
path: root/.zshenv
diff options
context:
space:
mode:
Diffstat (limited to '.zshenv')
-rw-r--r--.zshenv8
1 files changed, 8 insertions, 0 deletions
diff --git a/.zshenv b/.zshenv
index 9aa9d62..a29fc68 100644
--- a/.zshenv
+++ b/.zshenv
@@ -12,3 +12,11 @@ export SQLITE_HISTORY="$XDG_CACHE_HOME/sqlite_history"
# Path
export PATH="$HOME/bin:$HOME/.local/bin:$PATH"
+
+# Nix
+if [ -e "$HOME/.nix-profile/etc/profile.d/nix.sh" ]; then
+ . "$HOME/.nix-profile/etc/profile.d/nix.sh"
+fi
+if [ -e "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh" ]; then
+ . "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh"
+fi