aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xnais16
1 files changed, 15 insertions, 1 deletions
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
}