aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-08-15 22:12:52 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-08-15 22:12:52 -0300
commit0436639b199f49ae22b819f1eb64e7c36d49744f (patch)
treeddfe80abe92ff801e5304b28b5268a1cf22afb1d
parentad164e5a15a0dea9d1fb6b5634526858ef441d0c (diff)
downloadprofile-0436639b199f49ae22b819f1eb64e7c36d49744f.tar.gz
profile-0436639b199f49ae22b819f1eb64e7c36d49744f.tar.bz2
Feat: NixOS support (2)
-rw-r--r--profile.dot.link4
1 files changed, 2 insertions, 2 deletions
diff --git a/profile.dot.link b/profile.dot.link
index dd707b3..11ca7a0 100644
--- a/profile.dot.link
+++ b/profile.dot.link
@@ -90,8 +90,8 @@ if [ -e "$HOME/apps/go" ]; then
fi
# Add local NixOS into PATH
-if [ -e "$HOME/.nix-profile/bin" ]; then
- PATH=$PATH:$HOME/.nix-profile/bin
+if [ -e "$HOME/.nix-profile/etc/profile.d/nix.sh" ]; then
+ . $HOME/.nix-profile/etc/profile.d/nix.sh
fi
# Export PATH