Merge branch 'pbp' into 'main'

Add Pinebook Pro

See merge request ahoneybun/nyxi-installer!19
This commit is contained in:
Aaron Honeycutt 2024-02-09 20:04:53 +00:00
commit 46df8d1860

View file

@ -41,9 +41,9 @@ cat << EOF
Which device are you installing to? Which device are you installing to?
1) Virtual Machine 1) Virtual Machine
2) HP Dev One 2) HP Dev One
3) HP Omen 3) Thelio B1 (NVIDIA)
4) Thelio B1 (NVIDIA) 4) Galago Pro 3b (Garrus)
5) Galago Pro 3b (Garrus) 5) Pinebook Pro (Jaal)
6) Nebula49 (Shepard) 6) Nebula49 (Shepard)
0) Generic 0) Generic
EOF EOF
@ -58,19 +58,19 @@ elif [ $hostChoice = 2 ]; then
sudo nixos-install --flake /mnt/etc/nixos#dev-one sudo nixos-install --flake /mnt/etc/nixos#dev-one
elif [ $hostChoice = 3 ]; then elif [ $hostChoice = 3 ]; then
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/hosts/x86_64/hp-omen.nix > hp-omen.nix; sudo mv -f hp-omen.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#omen
elif [ $hostChoice = 4 ]; then
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/hosts/x86_64/thelio-nvidia.nix > thelio-nvidia.nix; sudo mv -f thelio-nvidia.nix /mnt/etc/nixos/ curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/hosts/x86_64/thelio-nvidia.nix > thelio-nvidia.nix; sudo mv -f thelio-nvidia.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#thelio-b1 sudo nixos-install --flake /mnt/etc/nixos#thelio-b1
elif [ $hostChoice = 5 ]; then elif [ $hostChoice = 4 ]; then
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/hosts/x86_64/garrus/configuration.nix > garrus.nix; sudo mv -f garrus.nix /mnt/etc/nixos/ curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/hosts/x86_64/garrus/configuration.nix > garrus.nix; sudo mv -f garrus.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#garrus sudo nixos-install --flake /mnt/etc/nixos#garrus
elif [ $hostChoice = 5 ]; then
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/hosts/aarch64/jaal/configuration.nix > jaal.nix; sudo mv -f jaal.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#jaal
elif [ $hostChoice = 6 ]; then elif [ $hostChoice = 6 ]; 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/
@ -78,7 +78,7 @@ elif [ $hostChoice = 6 ]; then
sudo nixos-install --flake /mnt/etc/nixos#shepard sudo nixos-install --flake /mnt/etc/nixos#shepard
elif [ $hostChoice = 0 ]; then elif [ $hostChoice = 0 ]; then
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/flake/flake.nix > flake.nix; sudo mv -f flake.nix /mnt/etc/nixos/ 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 sudo nixos-install --flake /mnt/etc/nixos#nixos
fi fi