Update install.sh

This commit is contained in:
batvin321 2024-11-18 17:53:34 -05:00
parent 34c20475ea
commit 2477e4fc10

View File

@ -1,7 +1,9 @@
echo "enter config name" echo "enter config name"
read HOST read HOST
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode disko system/$HOST/disk.nix sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode destroy system/$HOST/disk.nix
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode format system/$HOST/disk.nix
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode mount system/$HOST/disk.nix
sudo nixos-install --flake .#$HOST sudo nixos-install --flake .#$HOST