why
This commit is contained in:
8
install.sh
Normal file → Executable file
8
install.sh
Normal file → Executable file
@@ -1,6 +1,8 @@
|
||||
lsblk
|
||||
|
||||
echo "Enter disk to install to: (like /dev/sda but only enter the sda part)"
|
||||
read vardisk
|
||||
printf "Installing OCbwoy3's Dotfiles\nSit back and wait until NixOS (and the config) gets installed, or do something in the meantime.\n\n"
|
||||
|
||||
sudo nix run 'github:nix-community/disko/latest#disko-install' --extra-experimental-features "nix-command flakes" -- --flake .#default --disk main /dev/$vardisk
|
||||
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode destroy,format,mount hosts/default/disko.nix
|
||||
sudo nixos-install --flake .#default
|
||||
|
||||
# sudo nix run 'github:nix-community/disko/latest#disko-install' --extra-experimental-features "nix-command flakes" -- --flake .#default --disk main /dev/$vardisk
|
||||
Reference in New Issue
Block a user