source nvm automatically

This commit is contained in:
Cyryl Płotnicki 2020-01-03 10:34:49 +00:00
parent 10accd7b14
commit 6bf67da53c

View file

@ -50,6 +50,8 @@
if [[ ! -x "$nixos_version" ]]; then if [[ ! -x "$nixos_version" ]]; then
source /home/cyryl/.nix-profile/etc/profile.d/nix.sh source /home/cyryl/.nix-profile/etc/profile.d/nix.sh
export NIX_PATH="$HOME/.nix-defexpr/channels:$NIX_PATH" export NIX_PATH="$HOME/.nix-defexpr/channels:$NIX_PATH"
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
echo "non-nixos patches loaded" echo "non-nixos patches loaded"
fi fi
''; '';