aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2023-03-31 15:35:47 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2023-03-31 15:35:47 +0200
commit2332f00417cf34dc9b236b1c4d5c2d082ab6f3de (patch)
treee8713e35a4430e14031856c12b46186d685d45dc
parent06307ff1c7c7cbdeb5517dcb482db8674c81e6df (diff)
create system directory before elk install
-rwxr-xr-xnais2
1 files changed, 1 insertions, 1 deletions
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"