mirror of
https://gitlab.com/ahoneybun/nyxi-installer.git
synced 2025-05-12 11:04:02 -06:00
Revert change but swap configuration.nix to flake.nix
This commit is contained in:
parent
490a412795
commit
3ed0d05b05
1 changed files with 5 additions and 5 deletions
10
install.sh
10
install.sh
|
@ -32,7 +32,7 @@ sudo mv /tmp/disko-config.nix /mnt/etc/nixos
|
|||
echo "Default username and password are in the configuration.nix file"
|
||||
echo "Password is hashed so it is not plaintext"
|
||||
|
||||
#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/flake.nix > flake.nix; sudo mv -f flake.nix /mnt/etc/nixos/
|
||||
#curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/programs.nix > programs.nix; sudo mv -f programs.nix /mnt/etc/nixos/
|
||||
|
||||
cat << EOF
|
||||
|
@ -53,15 +53,15 @@ read deviceChoice
|
|||
# Update the second command to the file name that matches your system .nix file
|
||||
|
||||
if [ $deviceChoice = 1 ]; 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/systems/x86_64/shepard/configuration.nix > shepard.nix; sudo mv -f shepard.nix /mnt/etc/nixos
|
||||
sudo sed -i "11 i \ ./shepard.nix" /mnt/etc/nixos/configuration.nix
|
||||
|
||||
elif [ $deviceChoice = 2 ]; 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/systems/x86_64/garrus/configuration.nix > garrus.nix; sudo mv -f garrus.nix /mnt/etc/nixos
|
||||
sudo sed -i "11 i \ ./garrus.nix" /mnt/etc/nixos/configuration.nix
|
||||
|
||||
elif [ $deviceChoice = 3 ]; 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/systems/x86_64/hp-omen/configuration.nix > hp-omen.nix; sudo mv -f hp-omen.nix /mnt/etc/nixos
|
||||
sudo sed -i "11 i \ ./hp-omen.nix" /mnt/etc/nixos/configuration.nix
|
||||
|
||||
elif [ $deviceChoice = 4 ]; then
|
||||
|
@ -69,7 +69,7 @@ elif [ $deviceChoice = 4 ]; then
|
|||
sudo sed -i "11 i \ ./jaal.nix" /mnt/etc/nixos/configuration.nix
|
||||
|
||||
elif [ $deviceChoice = 5 ]; 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/systems/x86_64/thelio-nvidia.nix > thelio-nvidia.nix; sudo mv -f thelio-nvidia.nix /mnt/etc/nixos
|
||||
sudo sed -i "11 i \ ./thelio-nvidia.nix" /mnt/etc/nixos/configuration.nix
|
||||
|
||||
elif [ $deviceChoice = 6 ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue