From 2332f00417cf34dc9b236b1c4d5c2d082ab6f3de Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Fri, 31 Mar 2023 15:35:47 +0200 Subject: create system directory before elk install --- nais | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nais b/nais index f09ab1e..73588d3 100755 --- a/nais +++ b/nais @@ -107,6 +107,7 @@ install_arch() { echo "LANG=$(echo "$LOCALE" | awk '{ print $1 }')" > /mnt/etc/locale.conf echo "$HOSTNAME" > /mnt/etc/hostname + arch-chroot /mnt sh -c "mkdir /home/$USERNAME/system" arch-chroot /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/elk && cd elk && ./install $KEYUUID" sed -i 's/MODULES=(\(.*\))/MODULES=(\1 btrfs)/g' /mnt/etc/mkinitcpio.conf sed -i 's/BINARIES=(\(.*\))/BINARIES=(\1 btrfs)/g' /mnt/etc/mkinitcpio.conf @@ -129,7 +130,6 @@ install_arch() { arch-chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg - arch-chroot /mnt sh -c "mkdir /home/$USERNAME/system" arch-chroot /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.suckless.org/libgrapheme && cd libgrapheme && ./configure && make install" arch-chroot /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/suckless/wayland/dwl && cd dwl && make install" arch-chroot /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/suckless/wayland/wlock && cd wlock && make install" -- cgit v1.2.3-70-g09d2