#!/usr/bin/env bash
NIX_BIN_LOCATION=$HOME/.nix-profile/bin
if [[ -f $NIX_BIN_LOCATION/nix-env ]]; then
    echo "Installing nix packages"
    $NIX_BIN_LOCATION/nix-channel --update
    $NIX_BIN_LOCATION/nix-env --upgrade
    $NIX_BIN_LOCATION/nix-env -iA nixpkgs.bat nixpkgs.fzf nixpkgs.gitAndTools.delta nixpkgs.neovim nixpkgs.nodePackages.pyright nixpkgs.ripgrep nixpkgs.tmux
fi

#!/usr/bin/env bash
NIX_BIN_LOCATION=$HOME/.nix-profile/bin
if [[ -f $NIX_BIN_LOCATION/nix-env ]]; then
    echo "Installing nix packages"
    $NIX_BIN_LOCATION/nix-channel --update
    $NIX_BIN_LOCATION/nix-env --upgrade
    $NIX_BIN_LOCATION/nix-env -iA nixpkgs.bat nixpkgs.fzf nixpkgs.gitAndTools.delta nixpkgs.nodePackages.pyright nixpkgs.ripgrep nixpkgs.tmux
    sudo add-apt-repository ppa:neovim-ppa/unstable
    sudo apt-get update
    sudo apt-get install neovim
fi

Install neovim from apt-get for coder
Install neovim from apt-get for coder
