nix-flake/setup.sh
2024-11-18 19:48:13 +00:00

8 lines
206 B
Bash
Executable File

read HOST
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode disko system/$HOST/disk.nix
sudo nixos-install --flake .#$HOST
echo "REBOOT YOUR COMPUTER"