# Install Nix via Determinate Nix
curl -fsSL https://install.determinate.systems/nix | sh -s -- installsudo nix-channel --update
mkdir -p ~/.config/nix
echo "experimental-features = nix-commands flakes" >> ~/.config/nix/nix.conf
nix-shell -p git
git clone https://github.com/leviosa42/dotfiles-nix && cd dotfiles-nix
nix flake update
nix run .#switchnix run nixpkgs#git clone https://github.com/leviosa42/dotfiles-nix
cd dotfiles-nix
nix flake update
nix run .#switch