From: Silvio Rhatto Date: Sun, 16 Aug 2020 01:12:52 +0000 (-0300) Subject: Feat: NixOS support (2) X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=0436639b199f49ae22b819f1eb64e7c36d49744f;p=rhatto%2Fdotfiles%2Fprofile.git Feat: NixOS support (2) --- 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