diff options
Diffstat (limited to 'profile.dot.link')
-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 |