From 9570be2a4739325e434f910f65504178ee9ca0f2 Mon Sep 17 00:00:00 2001 From: 0x221E <0x221E@0xinfinity.dev> Date: Thu, 5 Mar 2026 14:05:09 +0100 Subject: [PATCH] Install for nvme, change packages from sway to hyprland. makepkg installation, fonts, are user's responsibility. --- install.sh | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/install.sh b/install.sh index 27bdc62..acce9d6 100755 --- a/install.sh +++ b/install.sh @@ -13,9 +13,9 @@ parted -s "$PART" set 1 esp on parted -s "$PART" mkpart primary linux-swap 3GB 27GB parted -s "$PART" mkpart primary ext4 27GB 100% -PART_BOOT="${PART}1" -PART_SWAP="${PART}2" -PART_ROOTHOME="${PART}3" +PART_BOOT="${PART}p1" +PART_SWAP="${PART}p2" +PART_ROOTHOME="${PART}p3" echo -n "$LUKS_PASS" | cryptsetup luksFormat --type luks2 --iter-time 5000 "${PART_ROOTHOME}" echo -n "$LUKS_PASS" | cryptsetup open "${PART_ROOTHOME}" roothome @@ -43,10 +43,10 @@ echo "KEYMAP=trq" >> /etc/vconsole.conf pacman -S --noconfirm base-devel sudo pacman -S --noconfirm networkmanager alsa-utils bluez bluez-utils nvidia-open nvidia-utils pavucontrol pipewire pipewire-alsa pipewire-pulse polkit-gnome usbutils sof-firmware -pacman -S --noconfirm alacritty firefox eog flameshot keepassxc ly sway swaybg zip unzip ttf-jetbrains-mono i3status -pacman -S --noconfirm ufw clamav opensnitch firejail +pacman -S --noconfirm alacritty firefox eog flameshot keepassxc ly waybar hyprland hyprlock hyprpaper zip unzip ttf-jetbrains-mono +pacman -S --noconfirm intel-ucode ufw clamav opensnitch firejail -pacman -S --noconfirm cmake cloc vim emacs cups docker docker-compose efibootmgr gdb ghidra ghostscript git git-lfs man-db man-pages mkcert nasm net-tools openssh qemu-base qemu-full dnsmasq dmidecode rustup valgrind virt-manager virt-viewer wireplumber wireguard-tools wireshark-qt wmenu wofi xdg-desktop-portal-gtk xdg-desktop-portal-wlr xorg-xwayland pyright clang iproute2 +pacman -S --noconfirm cmake cloc vim emacs cups docker docker-compose efibootmgr gdb ghidra ghostscript git git-lfs man-db man-pages mkcert nasm net-tools openssh qemu-base qemu-full dnsmasq dmidecode rustup valgrind virt-manager virt-viewer wireplumber wireguard-tools wireshark-qt wmenu wofi xdg-desktop-portal-gtk xdg-desktop-portal-wlr xdg-desktop-portal-hyprland xorg-xwayland pyright clang iproute2 systemctl enable clamav-freshclam.service systemctl enable clamav-daemon.service @@ -66,9 +66,6 @@ ufw enable sed -i 's/HOOKS=(base systemd autodetect microcode modconf kms keyboard keymap sd-vconsole block filesystems fsck)/HOOKS=(base systemd autodetect microcode modconf kms keyboard keymap sd-vconsole block sd-encrypt filesystems fsck)/' /etc/mkinitcpio.conf mkinitcpio -P -printf "Installing yay packages" -yay -S ttf-ms-fonts - printf "Configure ClamAV OnAccess" printf "OnAccessIncludePath /home/$USERNAME/\nOnAccessIncludePath /home/$USERNAME/\nOnAccessPrevention yes\nTemporaryDirectory /clamav/tmp" | tee -a /etc/clamav/clamd.conf sed -i '/^ExecStart=/ s/$/ --fdpass/' /etc/systemd/system/clamav-onacc.service @@ -86,7 +83,8 @@ su - "$USERNAME" -c "cp -sr /home/$USERNAME/dotfiles/* /home/$USERNAME/.config/" printf "Configuring yay..." su - "$USERNAME" -c "git clone https://aur.archlinux.org/yay.git" -su - "$USERNAME" -c "cd yay && makepkg -si" + +su - "$USERNAME" -c "echo 'install hyprpwcenter and set up secureboot, and add lockdown=integrity to systemd entry, then cd yay && makepkg -si fonts: yay -S ttf-ms-font' > ~/README.md" echo "$USERNAME:$PASS" | chpasswd