diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-03-27 21:45:19 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-03-27 21:45:19 +0200 |
| commit | 11dd35e8608dbea6c65865db1c389e2cc97cf0b2 (patch) | |
| tree | b1b27b9c6709aae7d4265f33921caa5c005ea619 | |
| parent | 35457aa0adfec0c006e00bd82b6e267bf87c8b3c (diff) | |
bootstrap wayland setup
| -rwxr-xr-x | nais | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -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 } |