curl -fsSL https://raw.githubusercontent.com/jbw/dotfiles/main/install_nix.sh | bashcurl -fsSL https://raw.githubusercontent.com/jbw/dotfiles/main/install_configs.sh | bash- Check nix-info
nix-shell -p nix-info --run "nix-info -m"- Do a fresh install
export JBW_DOTFILES_FRESH_CONFIG_INSTALL=true
curl -fsSL https://raw.githubusercontent.com/jbw/dotfiles/main/install_configs.sh | bash- Use
nixpkgunstable withhome-managermaster
I'm tracking home-manager@master and nixpkgs-unstable. They both need to track stable or unstable.
sudo nix-channel --add https://nixos.org/channels/nixpkgs-unstable unstable
sudo nix-channel --update- Update
nix-darwin
nix-channel --update darwin
darwin-rebuild changelog
- Update packages
For example, installing neovim
nix-env -iA nixpkgs.neovim