my dotfiles are configured via nix, nix flakes, and home-manager
install nix if you haven't already
curl -L https://nixos.org/nix/install | shallow the nix command to use flakes (currently experimental)
mkdir -p ~/.config/nix/
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
# change the priority of the nix install
nix-env --set-flag priority 4 nix-2.4switch to the new configuration
nix run .# switch