add drack

This commit is contained in:
Aaron Honeycutt 2024-10-15 19:56:19 +00:00
parent b6bd57a20f
commit 7730df30af

View file

@ -41,7 +41,8 @@ cat << EOF
Which device are you installing to? Which device are you installing to?
1) Virtual Machine 1) Virtual Machine
2) Galago Pro 5 (Garrus) 2) Galago Pro 5 (Garrus)
3) nebula49 (Shepard) 3) Thinkpad X13s (Drack)
4) nebula49 (Shepard)
0) Generic 0) Generic
EOF EOF
read hostChoice read hostChoice
@ -56,6 +57,10 @@ elif [ $hostChoice = 2 ]; then
sudo nixos-install --flake /mnt/etc/nixos#garrus sudo nixos-install --flake /mnt/etc/nixos#garrus
elif [ $hostChoice = 3 ]; then elif [ $hostChoice = 3 ]; then
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/hosts/aarch64/drack/configuration.nix > drack.nix; sudo mv -f drack.nix /mnt/etc/nixos/
sudo nixos-install --flake /mnt/etc/nixos#drack
elif [ $hostChoice = 4 ]; then
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/hosts/x86_64/shepard/configuration.nix > shepard.nix; sudo mv -f shepard.nix /mnt/etc/nixos/ curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/hosts/x86_64/shepard/configuration.nix > shepard.nix; sudo mv -f shepard.nix /mnt/etc/nixos/
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/desktops/gnome.nix > gnome.nix; sudo mv -f gnome.nix /mnt/etc/nixos/ curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/desktops/gnome.nix > gnome.nix; sudo mv -f gnome.nix /mnt/etc/nixos/
sudo nixos-install --flake /mnt/etc/nixos#shepard sudo nixos-install --flake /mnt/etc/nixos#shepard