diff --git a/install.sh b/install.sh index fd19af3..1e472ff 100644 --- a/install.sh +++ b/install.sh @@ -15,20 +15,30 @@ echo "::1 localhost" >> /etc/hosts echo "127.0.1.1 arch.localedomain arch" >> /etc/hosts echo root:test | chpasswd +git clone https://aur.archlinux.org/paru-bin +cd paru-bin +makepkg -si +cd / + #AUR pacman -S base-devel linux-headers linux-lts-headers +paru -S zramd + # bind = dnsutils (dig, etc.) pacman -S dialog reflector xdg-user-dirs xdg-utils inetutils bind bash-completion openssh rsync iptables-nft ipset firewalld lynx -pacman -S efibootmgr mtools dosfstools sof-firmware os-prober -#pacman -S grub os-prober efibootmgr mtools dosfstools +pacman -S efibootmgr mtools dosfstools +#pacman -S grub os-prober efibootmgr mtools dosfstools sof-firmware os-prober pacman -S iwd plasma kde-applications sddm bluez bluez-utils cups hplip alsa-utils pipewire pipewire-docs pipewire-alsa pipewire-pulse pipewire-jack helvum pavucontrol #Power pacman -S acpi acpi_call tlp +# Video AMD +pacman -S --noconfirm xf86-video-amdgpu + # System systemctl enable systemd-networkd systemctl enable systemd-resolved @@ -40,6 +50,7 @@ systemctl enable fstrim.timer systemctl enable iwd systemctl enable sddm systemctl enable cups +systemctl enable bluetooth sed -i 's/MODULES=()/MODULES=(amdgpu)/' /etc/mkinitcpio.conf diff --git a/pre.sh b/pre.sh index ea4cc1c..5aa5972 100644 --- a/pre.sh +++ b/pre.sh @@ -70,14 +70,15 @@ btrfs subvolume create @log btrfs subvolume create @cache cd ~ umount -mount -o noatime,compress=zstd,space_cache,discard=async,subvol=@ /dev/vda2 /mnt +mount -o noatime,compress=zstd,space_cache=v2,discard=async,subvol=@ /dev/vda2 /mnt mkdir -p /mnt/{home,var/log,var/cache,boot} -mount -o noatime,compress=zstd,space_cache,discard=async,subvol=@home /dev/vda2 /mnt/home -mount -o noatime,compress=zstd,space_cache,discard=async,subvol=@log /dev/vda2 /mnt/var/log -mount -o noatime,compress=zstd,space_cache,discard=async,subvol=@cache /dev/vda2 /mnt/cache +mount -o noatime,compress=zstd,space_cache=v2,discard=async,subvol=@home /dev/vda2 /mnt/home +mount -o noatime,compress=zstd,space_cache=v2,discard=async,subvol=@log /dev/vda2 /mnt/var/log +mount -o noatime,compress=zstd,space_cache=v2,discard=async,subvol=@cache /dev/vda2 /mnt/cache mount /dev/vda1 /mnt/boot -pacstrap /mnt base linux linux-lts linux-firmware amd-ucode tamsyn-font vim git +pacstrap /mnt base linux linux-lts linux-firmware amd-ucode tamsyn-font vim git btrfs-progs genfstab -U /mnt >> /mnt/etc/fstab +arch-chroot /mnt #--UEFI-btrfs-- \ No newline at end of file