From 6bf67da53c1988d365e64266811218f384339217 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Fri, 3 Jan 2020 10:34:49 +0000 Subject: [PATCH] source nvm automatically --- nixos/programs/zsh.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/programs/zsh.nix b/nixos/programs/zsh.nix index 5de31ce9..5819ce8e 100644 --- a/nixos/programs/zsh.nix +++ b/nixos/programs/zsh.nix @@ -50,6 +50,8 @@ if [[ ! -x "$nixos_version" ]]; then source /home/cyryl/.nix-profile/etc/profile.d/nix.sh 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" fi '';