mirror of
https://gitlab.com/ahoneybun/nyxi-installer.git
synced 2025-05-12 11:04:02 -06:00
Change from flake to main branch now that nix-configs change has been merged.
This commit is contained in:
parent
dc1aa54f75
commit
50744893ff
1 changed files with 6 additions and 6 deletions
12
install.sh
12
install.sh
|
@ -30,9 +30,9 @@ sudo nixos-generate-config --no-filesystems --root /mnt
|
||||||
sudo mv /tmp/disko-config.nix /mnt/etc/nixos
|
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/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/
|
||||||
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/flake/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/flake/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
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ EOF
|
||||||
read deviceChoice
|
read deviceChoice
|
||||||
|
|
||||||
if [ $deviceChoice = 1 ]; then
|
if [ $deviceChoice = 1 ]; then
|
||||||
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/flake/systems/vm.nix > vm.nix; sudo mv -f vm.nix /mnt/etc/nixos/
|
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/systems/vm.nix > vm.nix; sudo mv -f vm.nix /mnt/etc/nixos/
|
||||||
sudo nixos-install --flake /mnt/etc/nixos#vm
|
sudo nixos-install --flake /mnt/etc/nixos#vm
|
||||||
|
|
||||||
elif [ $deviceChoice = 2 ]; then
|
elif [ $deviceChoice = 2 ]; then
|
||||||
|
@ -56,12 +56,12 @@ elif [ $deviceChoice = 2 ]; then
|
||||||
sudo nixos-install --flake /mnt/etc/nixos#dev-one
|
sudo nixos-install --flake /mnt/etc/nixos#dev-one
|
||||||
|
|
||||||
elif [ $deviceChoice = 3 ]; then
|
elif [ $deviceChoice = 3 ]; then
|
||||||
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/flake/systems/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/systems/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 [ $deviceChoice = 4 ]; then
|
elif [ $deviceChoice = 4 ]; then
|
||||||
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/flake/systems/x86_64/garrus/configuration.nix > garrus.nix; sudo mv -f garrus.nix /mnt/etc/nixos/
|
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/systems/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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue