Update install.sh
This commit is contained in:
parent
34c20475ea
commit
2477e4fc10
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user