source nvm automatically
This commit is contained in:
parent
10accd7b14
commit
6bf67da53c
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue