summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2018-05-18 16:18:42 -0700
committerBen Sima <ben@bsima.me>2018-05-18 16:18:42 -0700
commit87af3acf1cce394223517a0db3c893802a6e48b0 (patch)
tree5380db2980be2a41a2b0c0cd61aa8339b34ad316
parentedf4b98a318ce0578ad47c43ce600a566685a36d (diff)
Source nix.sh if its available
This is necessary for non-NixOS.
-rw-r--r--home.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/home.nix b/home.nix
index cc33f72..2a19d7b 100644
--- a/home.nix
+++ b/home.nix
@@ -113,6 +113,7 @@ do
PATH=$DIR:$PATH
fi
done
+[[ -f ~/.nix-profile/etc/profile.d/nix.sh ]] && . ~/.nix-profile/etc/profile.d/nix.sh
'';
};