mirror of
https://gitlab.com/ahoneybun/nyxi-installer.git
synced 2025-05-12 11:04:02 -06:00
Point to main now and remove unsupported devices
This commit is contained in:
parent
b3825d935b
commit
56369f0679
1 changed files with 3 additions and 13 deletions
14
install.sh
14
install.sh
|
@ -31,8 +31,8 @@ sudo mv /tmp/disko-config.nix /mnt/etc/nixos
|
||||||
|
|
||||||
## Downloads and places the predefinded generic flake to use
|
## Downloads and places the predefinded generic flake to use
|
||||||
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/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/
|
||||||
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/release-24.05/configuration.nix > configuration.nix; sudo mv -f configuration.nix /mnt/etc/nixos/
|
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/configuration.nix > configuration.nix; sudo mv -f configuration.nix /mnt/etc/nixos/
|
||||||
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/release-24.05/home.nix > home.nix; sudo mv -f home.nix /mnt/etc/nixos/
|
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/home.nix > home.nix; sudo mv -f home.nix /mnt/etc/nixos/
|
||||||
|
|
||||||
# Step 3: Choosing a predefined system flake file to use
|
# Step 3: Choosing a predefined system flake file to use
|
||||||
|
|
||||||
|
@ -43,7 +43,6 @@ Which device are you installing to?
|
||||||
2) Galago Pro 3b (Garrus)
|
2) Galago Pro 3b (Garrus)
|
||||||
3) Pinebook Pro (Jaal)
|
3) Pinebook Pro (Jaal)
|
||||||
4) nebula49 (Shepard)
|
4) nebula49 (Shepard)
|
||||||
5) Homelab (EDI)
|
|
||||||
0) Generic
|
0) Generic
|
||||||
EOF
|
EOF
|
||||||
read hostChoice
|
read hostChoice
|
||||||
|
@ -67,15 +66,6 @@ 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/
|
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
|
||||||
|
|
||||||
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 = 6 ]; then
|
|
||||||
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/hosts/x86_64/macbook-intel.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/
|
|
||||||
sudo nixos-install --flake /mnt/etc/nixos#macbook
|
|
||||||
|
|
||||||
elif [ $hostChoice = 0 ]; then
|
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/
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue