mirror of
https://gitlab.com/ahoneybun/nyxi-installer.git
synced 2025-05-12 02:54:03 -06:00
Add DE choice, GNOME and Plasma for now
This commit is contained in:
parent
262663bf3b
commit
0a150560dd
1 changed files with 19 additions and 2 deletions
21
install.sh
21
install.sh
|
@ -105,9 +105,26 @@ sudo mount $efiName /mnt/boot
|
||||||
# Generate Nix configuration
|
# Generate Nix configuration
|
||||||
sudo nixos-generate-config --root /mnt
|
sudo nixos-generate-config --root /mnt
|
||||||
|
|
||||||
# Coping over my nix files
|
echo ""
|
||||||
|
echo "Which Desktop Environment do you want?"
|
||||||
|
echo "1) Plasma"
|
||||||
|
echo "2) GNOME"
|
||||||
|
read desktopChoice
|
||||||
|
|
||||||
|
if [ $desktopChoice = 1 ]; then
|
||||||
|
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/plasma.nix > plasma.nix; sudo mv -f plasma.nix /mnt/etc/nixos/
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
|
if [ $desktopChoice = 2 ]; then
|
||||||
|
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/gnome.nix > gnome.nix; sudo mv -f gnome.nix /mnt/etc/nixos/
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Copy my nix configs over
|
||||||
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/main/configuration.nix > configuration.nix; sudo mv -f configuration.nix /mnt/etc/nixos/
|
||||||
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/plasma.nix > plasma.nix; sudo mv -f plasma.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/
|
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/main/programs.nix > programs.nix; sudo mv -f programs.nix /mnt/etc/nixos/
|
||||||
|
|
||||||
# Replace LUKS device with correct partition
|
# Replace LUKS device with correct partition
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue