aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2023-03-30 17:32:56 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2023-03-30 17:32:56 +0200
commit1ed9afbadd18cb72a32acdfb3dd3f6934bb1bc4d (patch)
tree19836a3d56c136edacdbab4d24549e44b4b75a9a
parent289642ba57ef122d3761958dfecc17bdc9669a2f (diff)
fix system install
-rwxr-xr-xnais19
1 files changed, 10 insertions, 9 deletions
diff --git a/nais b/nais
index 88c7cc9..e48600d 100755
--- a/nais
+++ b/nais
@@ -135,15 +135,16 @@ install_arch() {
arch-chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg
- arch-chroot -u "$USERNAME" /mnt sh -c "mkdir /home/$USERNAME/system"
- arch-chroot -u "$USERNAME" /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/suckless/wayland/dwl && cd dwl && sudo make install"
- arch-chroot -u "$USERNAME" /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/suckless/wayland/wlock && cd wlock && sudo make install"
- arch-chroot -u "$USERNAME" /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/suckless/wayland/dmenu-wl && cd dmenu-wl && sudo make install"
- arch-chroot -u "$USERNAME" /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/suckless/wayland/dbar && cd dbar && sudo make install"
- arch-chroot -u "$USERNAME" /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/suckless/st && cd st && sudo make install"
- arch-chroot -u "$USERNAME" /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/suckless/status && cd status && sudo make install"
- arch-chroot -u "$USERNAME" /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/dotfiles && cd dotfiles && ./dotter"
- arch-chroot -u "$USERNAME" /mnt sh -c "cd /home/$USERNAME/ && git clone https://aur.archlinux.org/yay && cd yay && makepkg -si --noconfirm && cd / && rm -rf /home/$USERNAME/yay"
+ arch-chroot /mnt sh -c "mkdir /home/$USERNAME/system"
+ arch-chroot /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/suckless/wayland/dwl && cd dwl && sudo make install"
+ arch-chroot /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/suckless/wayland/wlock && cd wlock && sudo make install"
+ arch-chroot /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/suckless/wayland/dmenu-wl && cd dmenu-wl && sudo make install"
+ arch-chroot /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/suckless/wayland/dbar && cd dbar && sudo make install"
+ arch-chroot /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/suckless/st && cd st && sudo make install"
+ arch-chroot /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/suckless/status && cd status && sudo make install"
+ arch-chroot /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/dotfiles && cd dotfiles && ./dotter"
+ arch-chroot /mnt sh -c "cd /home/$USERNAME/ && git clone https://aur.archlinux.org/yay && cd yay && makepkg -si --noconfirm && cd / && rm -rf /home/$USERNAME/yay"
+ arch-chroot /mnt chown -R "$USERNAME":"$USERNAME" "/home/$USERNAME/system"
echo Finished.
exit