curl https://raw.githubusercontent.com/vimjoyer/impermanent-setup/main/final/disko.nix -O /tmp/disko.nix
replace '"/dev/vda"'
with your drive
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko -- --mode disko /tmp/disko.nix --arg device '"/dev/vda"'
nix flake init --template github:vimjoyer/impermanent-setup
nixos-install --root /mnt --flake /mnt/etc/nixos#default