aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2018-08-26 20:46:59 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2018-08-26 20:46:59 +0200
commit1c6f1de9b6246981e492dfd5180cedb6e5c97796 (patch)
treee44476385b4c2ff88c824779d5444b0ff43f671b
parentd3bfba9df85c6004910f1786335b2e07aa8b4c9d (diff)
downloaddotfiles-1c6f1de9b6246981e492dfd5180cedb6e5c97796.tar.xz
zsh/profile.d/hydrogen: Add nix-profile source
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r--zsh/profile.d/hydrogen4
1 files changed, 4 insertions, 0 deletions
diff --git a/zsh/profile.d/hydrogen b/zsh/profile.d/hydrogen
index b9d418b..61f9cdf 100644
--- a/zsh/profile.d/hydrogen
+++ b/zsh/profile.d/hydrogen
@@ -13,4 +13,8 @@ if (( UID )); then
export MAILDIR="$HOME"/mail
fi
+if [ -e "/etc/nix/nix-profile.sh" ]; then
+ source /etc/profile.d/nix.sh
+fi
+
# vim: ft=zsh