diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2020-08-15 22:12:52 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2020-08-15 22:12:52 -0300 |
commit | 0436639b199f49ae22b819f1eb64e7c36d49744f (patch) | |
tree | ddfe80abe92ff801e5304b28b5268a1cf22afb1d | |
parent | ad164e5a15a0dea9d1fb6b5634526858ef441d0c (diff) | |
download | profile-0436639b199f49ae22b819f1eb64e7c36d49744f.tar.gz profile-0436639b199f49ae22b819f1eb64e7c36d49744f.tar.bz2 |
Feat: NixOS support (2)
-rw-r--r-- | profile.dot.link | 4 |
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 |