diff --git a/install.sh b/install.sh index e173437..0fb1e64 100755 --- a/install.sh +++ b/install.sh @@ -36,12 +36,12 @@ echo "$HOSTNAME" >> /etc/hostname echo "KEYMAP=trq" >> /etc/vconsole.conf pacman -S --noconfirm base-devel # base programs -pacman -S --noconfirm alsa-utils bluez bluez-utils bridge-utils networkmanager nvidia-open nvidia-utils pantum-universal-driver pavucontrol pipewire pipewire-alsa pipewire-jack pipewire-pulse polykit-gnome usbutils # drivers and its utils -pacman -S --noconfirm alacritty firefox eog flameshot keepassxc ly sway swaybg zip unzip # daily tools +pacman -S --noconfirm alsa-utils bluez bluez-utils bridge-utils networkmanager nvidia-open nvidia-utils pantum-universal-driver pavucontrol pipewire pipewire-alsa pipewire-jack pipewire-pulse polykit-gnome usbutils +pacman -S --noconfirm alacritty firefox eog flameshot keepassxc ly sway swaybg zip unzip -pacman -S --noconfirm ufw clamav # security +pacman -S --noconfirm ufw clamav -pacman -S --noconfirm cmake cloc code cppcheck emacs cups docker docker-compose efibootmgr gdb ghidra ghostscript git git-lfs libvirtman-db man-pages mkcert nasm net-tools openssh qemu-base qemu-full rustup valgrind virt-manager virt-viewer wireplumber wireguard-tools wireshark-qt wmenu wofi xdg-desktop-portal-gtk xdg-desktop-portal-wlr xorg-xwayland #developer tools +pacman -S --noconfirm cmake cloc code cppcheck emacs cups docker docker-compose efibootmgr gdb ghidra ghostscript git git-lfs libvirtman-db man-pages mkcert nasm net-tools openssh qemu-base qemu-full rustup valgrind virt-manager virt-viewer wireplumber wireguard-tools wireshark-qt wmenu wofi xdg-desktop-portal-gtk xdg-desktop-portal-wlr xorg-xwayland systemctl enable NetworkManager systemctl enable ufw @@ -54,22 +54,17 @@ ufw default deny incoming ufw default allow outgoing ufw enable -sed -i 's/HOOKS=(base udev autodetect modconf block filesystems keyboard fsck)/HOOKS=(base udev autodetect modconf keyboard encrypt block filesystems fsck)/' /etc/mkinitcpio.conf +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 echo -n "root:$ROOT_PASS" | chpasswd bootctl install -echo "default arch.conf\ntimeout 3\nconsole-mode max\neditor no" >> /boot/loader/loader.conf +printf "default arch.conf\ntimeout 3\nconsole-mode max\neditor no" >> /boot/loader/loader.conf UUID=$(blkid -s UUID -o value "${PART}3") -cat < /boot/loader/entries/arch.conf -title Arch Linux -linux /boot/vmlinuz-linux -initrd /boot/initramfs-linux.img -options rd.luks.name=$UUID:roothome root=/dev/mapper/roothome rw -EOF +printf "title Arch Linux\nlinux /vmlinuz-linux\ninitrd /initramfs-linux.img\noptions rd.luks.name=$UUID:roothome root=/dev/mapper/roothome rw" > /boot/loader/entries/arch.conf EOF