mirror of
https://gitlab.com/ahoneybun/nyxi-installer.git
synced 2025-05-12 11:04:02 -06:00
Update install.sh
This commit is contained in:
parent
99df74fc41
commit
4e3857b2e2
1 changed files with 4 additions and 8 deletions
12
install.sh
12
install.sh
|
@ -118,23 +118,19 @@ read desktopChoice
|
||||||
if [ $desktopChoice = 1 ]; then
|
if [ $desktopChoice = 1 ]; then
|
||||||
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/desktops/plasma.nix > plasma.nix; sudo mv -f plasma.nix /mnt/etc/nixos/
|
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/desktops/plasma.nix > plasma.nix; sudo mv -f plasma.nix /mnt/etc/nixos/
|
||||||
sudo sed -i "10 i \ ./plasma.nix" /mnt/etc/nixos/configuration.nix
|
sudo sed -i "10 i \ ./plasma.nix" /mnt/etc/nixos/configuration.nix
|
||||||
else
|
|
||||||
|
|
||||||
if [ $desktopChoice = 2 ]; then
|
elif [ $desktopChoice = 2 ]; 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 sed -i "10 i \ ./gnome.nix" /mnt/etc/nixos/configuration.nix
|
sudo sed -i "10 i \ ./gnome.nix" /mnt/etc/nixos/configuration.nix
|
||||||
fi
|
|
||||||
|
|
||||||
if [ $desktopChoice = 3 ]; then
|
elif [ $desktopChoice = 3 ]; then
|
||||||
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/desktops/pantheon.nix > pantheon.nix; sudo mv -f pantheon.nix /mnt/etc/nixos/
|
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/desktops/pantheon.nix > pantheon.nix; sudo mv -f pantheon.nix /mnt/etc/nixos/
|
||||||
sudo sed -i "10 i \ ./pantheon.nix" /mnt/etc/nixos/configuration.nix
|
sudo sed -i "10 i \ ./pantheon.nix" /mnt/etc/nixos/configuration.nix
|
||||||
fi
|
|
||||||
|
|
||||||
if [ $desktopChoice = 4 ]; then
|
elif [ $desktopChoice = 4 ]; then
|
||||||
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/desktops/sway.nix > sway.nix; sudo mv -f sway.nix /mnt/etc/nixos/
|
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/desktops/sway.nix > sway.nix; sudo mv -f sway.nix /mnt/etc/nixos/
|
||||||
sudo sed -i "10 i \ ./sway.nix" /mnt/etc/nixos/configuration.nix
|
sudo sed -i "10 i \ ./sway.nix" /mnt/etc/nixos/configuration.nix
|
||||||
fi
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue