git clone --bare 'https://github.com/kenrendell/dotfiles.git' "${HOME}/.dotfiles"
alias dotfiles='git --git-dir="${HOME}/.dotfiles" --work-tree="$HOME"'
dotfiles config status.showUntrackedFiles no
dotfiles checkout
# Allow non-free nix packages
export NIXPKGS_ALLOW_UNFREE=1
# Build and install nix packages
nix run --impure "${XDG_CONFIG_HOME}/nix/pkgs#profile.switch"
# Update nix packages
nix flake update --flake "${XDG_CONFIG_HOME}/nix/pkgs"
nix run --impure "${XDG_CONFIG_HOME}/nix/pkgs#profile.switch"