echo "selecting fastest mirror"
# sort mirrors
-pacman -Sy--noconfirm
+pacman -Sy --noconfirm
pacman -S reflector --noconfirm
reflector --sort rate --save /etc/pacman.d/mirrorlist
--- /dev/null
+#!/usr/bin/expect
+set timeout 100000
+set scriptname [lindex $argv 0];
+
+spawn arch-chroot /mnt
+expect "archiso"
+sleep 1
+send "/root/instantarch/$scriptname\n"
+interact
#!/bin/bash
pacman -S fzf --noconfirm
-pacman -S sdisk --noconfirm
pacman -S expect --noconfirm
pacman -S git --noconfirm
-#!/bin/bash
\ No newline at end of file
+#!/bin/bash
+
+pacman -S xorg --noconfirm
+
+pacman -S lightdm --noconfirm
+pacman -S lightdm-gtk-greeter --noconfirm
\ No newline at end of file
pacstrap /mnt base linux linux-firmware
genfstab -U /mnt >> /mnt/etc/fstab
+
+cd /root
+cp -r ./instantARCH /mnt/root/instantARCH
\ No newline at end of file