diff --git a/nixos/home-manager/programs/zsh.nix b/nixos/home-manager/programs/zsh.nix index adbdcc94..77592909 100644 --- a/nixos/home-manager/programs/zsh.nix +++ b/nixos/home-manager/programs/zsh.nix @@ -37,7 +37,7 @@ [ -s "/home/cyryl/.jabba/jabba.sh" ] && source "/home/cyryl/.jabba/jabba.sh" tmux source-file ~/.config/tmux/tmux.conf local nixos_version=`which nixos-version` - if [[ ! -x "$nixos_version" ]]; then + if [[ ! -x "$nixos_version" && ! `uname` == "Darwin" ]]; 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"