mirror of
https://gitlab.com/ahoneybun/nyxi-installer.git
synced 2025-05-12 11:04:02 -06:00
Add generic flake option
This commit is contained in:
parent
928af8b3d7
commit
6390329d06
1 changed files with 6 additions and 2 deletions
|
@ -45,7 +45,7 @@ Which device are you installing to?
|
||||||
5) Thelio NVIDIA (thelio-b1)
|
5) Thelio NVIDIA (thelio-b1)
|
||||||
6) Darter Pro (darp9)
|
6) Darter Pro (darp9)
|
||||||
7) Virtual Machine
|
7) Virtual Machine
|
||||||
0) None or N/A
|
0) Generic
|
||||||
EOF
|
EOF
|
||||||
read deviceChoice
|
read deviceChoice
|
||||||
|
|
||||||
|
@ -81,6 +81,10 @@ elif [ $deviceChoice = 6 ]; then
|
||||||
elif [ $deviceChoice = 7 ]; then
|
elif [ $deviceChoice = 7 ]; then
|
||||||
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/flake/systems/flake.nix > flake.nix; sudo mv -f flake.nix /mnt/etc/nixos/
|
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/flake/systems/flake.nix > flake.nix; sudo mv -f flake.nix /mnt/etc/nixos/
|
||||||
#curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/systems/vm.nix > configuration.nix; sudo mv -f configuration.nix /mnt/etc/nixos/
|
#curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/systems/vm.nix > configuration.nix; sudo mv -f configuration.nix /mnt/etc/nixos/
|
||||||
|
|
||||||
|
elif [ $deviceChoice = 7 ]; then
|
||||||
|
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/flake/flake.nix > flake.nix; sudo mv -f flake.nix /mnt/etc/nixos/
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cat << EOF
|
cat << EOF
|
||||||
|
@ -116,5 +120,5 @@ elif [ $desktopChoice = 4 ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Install
|
# Install
|
||||||
sudo nixos-install --flake /mnt/etc/nixos#vm
|
sudo nixos-install --flake /mnt/etc/nixos#nixos
|
||||||
#sudo nixos-install
|
#sudo nixos-install
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue