summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-10-05 01:09:20 +0200
committerAlan Pearce2019-10-05 01:09:20 +0200
commitd1e7c31e93d3bb06e12eaa2c0954a617cb6755ec (patch)
tree3d2daf7ad17717697ecd0d0045dcefe57da5d28a
parent54ece8e09c42b9537f7ff962d965c1732e425519 (diff)
downloadnixfiles-d1e7c31e93d3bb06e12eaa2c0954a617cb6755ec.tar.lz
nixfiles-d1e7c31e93d3bb06e12eaa2c0954a617cb6755ec.tar.zst
nixfiles-d1e7c31e93d3bb06e12eaa2c0954a617cb6755ec.zip
zsh: source home-manager environment
-rw-r--r--user/zsh/.config/zsh/.zshenv5
1 files changed, 5 insertions, 0 deletions
diff --git a/user/zsh/.config/zsh/.zshenv b/user/zsh/.config/zsh/.zshenv
index 6b58186e..2f8e5bab 100644
--- a/user/zsh/.config/zsh/.zshenv
+++ b/user/zsh/.config/zsh/.zshenv
@@ -16,6 +16,11 @@ then
     export NIX_LINK
   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
+
   case $OSTYPE in
     darwin*)
       os=darwin