mirror of
https://gitlab.com/ahoneybun/nyxi-installer.git
synced 2025-05-12 11:04:02 -06:00
remove: work systems like Thelio and HP Dev One
This commit is contained in:
parent
92c6e47c19
commit
b09dbc091b
1 changed files with 5 additions and 16 deletions
21
install.sh
21
install.sh
|
@ -40,11 +40,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) Galago Pro 3b (Garrus)
|
||||||
3) Thelio B1 (NVIDIA)
|
3) Pinebook Pro (Jaal)
|
||||||
4) Galago Pro 3b (Garrus)
|
4) Nebula49 (Shepard)
|
||||||
5) Pinebook Pro (Jaal)
|
|
||||||
6) Nebula49 (Shepard)
|
|
||||||
0) Generic
|
0) Generic
|
||||||
EOF
|
EOF
|
||||||
read hostChoice
|
read hostChoice
|
||||||
|
@ -54,25 +52,16 @@ if [ $hostChoice = 1 ]; then
|
||||||
sudo nixos-install --flake /mnt/etc/nixos#vm
|
sudo nixos-install --flake /mnt/etc/nixos#vm
|
||||||
|
|
||||||
elif [ $hostChoice = 2 ]; then
|
elif [ $hostChoice = 2 ]; 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#dev-one
|
|
||||||
|
|
||||||
elif [ $hostChoice = 3 ]; 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/desktops/gnome.nix > gnome.nix; sudo mv -f gnome.nix /mnt/etc/nixos/
|
|
||||||
sudo nixos-install --flake /mnt/etc/nixos#thelio-b1
|
|
||||||
|
|
||||||
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
|
elif [ $hostChoice = 3 ]; 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/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/
|
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
|
sudo nixos-install --flake /mnt/etc/nixos#jaal
|
||||||
|
|
||||||
elif [ $hostChoice = 6 ]; then
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue