From 11dd35e8608dbea6c65865db1c389e2cc97cf0b2 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Mon, 27 Mar 2023 21:45:19 +0200 Subject: bootstrap wayland setup --- nais | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/nais b/nais index 5910be5..8b6e686 100755 --- a/nais +++ b/nais @@ -94,7 +94,11 @@ install_arch() { [ "$BOOT_MODE" = "uefi" ] && mount --mkdir "$efi" /mnt/boot/EFI - pacstrap -K /mnt base linux linux-firmware neovim neomutt wayland wayland-protocols wlroots xorg-xwayland git base-devel networkmanager btrfs-progs sudo grub efibootmgr + pacstrap -K /mnt base linux linux-firmware neovim neomutt \ + wayland wayland-protocols wlroots xorg-xwayland \ + git base-devel make networkmanager btrfs-progs sudo \ + grub efibootmgr bat man-db ttf-sourcecodepro-nerd \ + libx11 libxft libxrender freetype2 dunst dd if=/dev/random of=/mnt/etc/.bootkey bs=1024 count=4 printf "%s" "$PASSWORD" | cryptsetup luksAddKey "$boot" /mnt/etc/.bootkey || exit @@ -131,6 +135,16 @@ install_arch() { arch-chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg + arch-chroot -u "$USERNAME" sh -c 'mkdir ~/system' + arch-chroot -u "$USERNAME" sh -c 'cd system && git clone https://git.nathanreiner.xyz/suckless/wayland/dwl && cd dwl && sudo make install' + arch-chroot -u "$USERNAME" sh -c 'cd system && git clone https://git.nathanreiner.xyz/suckless/wayland/wlock && cd wlock && sudo make install' + arch-chroot -u "$USERNAME" sh -c 'cd system && git clone https://git.nathanreiner.xyz/suckless/wayland/dmenu-wl && cd dmenu-wl && sudo make install' + arch-chroot -u "$USERNAME" sh -c 'cd system && git clone https://git.nathanreiner.xyz/suckless/wayland/dbar && cd dbar && sudo make install' + arch-chroot -u "$USERNAME" sh -c 'cd system && git clone https://git.nathanreiner.xyz/suckless/st && cd st && sudo make install' + arch-chroot -u "$USERNAME" sh -c 'cd system && git clone https://git.nathanreiner.xyz/suckless/status && cd status && sudo make install' + arch-chroot -u "$USERNAME" sh -c 'cd system && git clone https://git.nathanreiner.xyz/dotfiles && cd dotfiles && ./dotter' + arch-chroot -u "$USERNAME" sh -c 'git clone https://aur.archlinux.org/yay && cd yay && makepkg -si --noconfirm && cd .. && rm -rf yay' + echo Finished. exit } -- cgit v1.2.3-70-g09d2