This commit is contained in:
Aaron Honeycutt 2024-02-15 16:35:26 -07:00
parent b09dbc091b
commit 1704dd58a7

View file

@ -43,6 +43,7 @@ Which device are you installing to?
2) Galago Pro 3b (Garrus)
3) Pinebook Pro (Jaal)
4) Nebula49 (Shepard)
5) local Build Server (EDI)
0) Generic
EOF
read hostChoice
@ -66,6 +67,10 @@ elif [ $hostChoice = 4 ]; then
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
elif [ $hostChoice = 5 ]; then
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/hosts/x86_64/EDI/configuration.nix > edi.nix; sudo mv -f edi.nix /mnt/etc/nixos/
sudo nixos-install --flake /mnt/etc/nixos#edi
elif [ $hostChoice = 0 ]; then
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/flake.nix > flake.nix; sudo mv -f flake.nix /mnt/etc/nixos/
sudo nixos-install --flake /mnt/etc/nixos#nixos