nix-flake/install.sh

9 lines
231 B
Bash
Raw Normal View History

2024-11-18 15:44:10 -05:00
echo "enter config name"
2024-11-18 14:48:13 -05:00
read HOST
2024-11-18 14:29:44 -05:00
2024-11-18 14:48:13 -05:00
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode disko system/$HOST/disk.nix
sudo nixos-install --flake .#$HOST
2024-07-03 18:17:11 -04:00
echo "REBOOT YOUR COMPUTER"