From 2477e4fc1056c65e1f7dc383fbdc5dd38b546a1c Mon Sep 17 00:00:00 2001 From: batvin321 Date: Mon, 18 Nov 2024 17:53:34 -0500 Subject: [PATCH] Update install.sh --- install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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