You have a few installation options:
- Use Nix Profiles (recommended)
- Overwrite existing
~/.bashrc - Standalone executable:
billsh
Use Nix Profiles (recommended)
$ nix-env -f https://github.com/wpcarro/dotfiles/archive/main.tar.gz -iA dotfiles.bashrc
$ vim ~/.bashrc # add "source ~/.nix-profile/etc/bashrc"Overwrite existing ~/.bashrc
$ mv ~/.bashrc{,.bak} # backup your bashrc
$ ln -sf $(nix-build https://github.com/wpcarro/dotfiles/archive/main.tar.gz -A dotfiles.bashrc --no-out-link)/etc/bashrc ~/.bashrcStandalone executable: billsh
$ nix-env -f https://github.com/wpcarro/dotfiles/archive/main.tar.gz -iA dotfiles.shellYou may need to install Nix:
$ sh <(curl -L https://nixos.org/nix/install) --daemon