diff --git a/install.sh b/install.sh index 56ae3c1..3fcbde1 100755 --- a/install.sh +++ b/install.sh @@ -1,7 +1,9 @@ echo "enter config name" 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