Compare commits

..

8 commits

2 changed files with 19 additions and 7 deletions

View file

@ -15,20 +15,30 @@ echo "::1 localhost" >> /etc/hosts
echo "127.0.1.1 arch.localedomain arch" >> /etc/hosts echo "127.0.1.1 arch.localedomain arch" >> /etc/hosts
echo root:test | chpasswd echo root:test | chpasswd
git clone https://aur.archlinux.org/paru-bin
cd paru-bin
makepkg -si
cd /
#AUR #AUR
pacman -S base-devel linux-headers linux-lts-headers pacman -S base-devel linux-headers linux-lts-headers
paru -S zramd
# bind = dnsutils (dig, etc.) # 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 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 efibootmgr mtools dosfstools
#pacman -S grub os-prober 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 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 #Power
pacman -S acpi acpi_call tlp pacman -S acpi acpi_call tlp
# Video AMD
pacman -S --noconfirm xf86-video-amdgpu
# System # System
systemctl enable systemd-networkd systemctl enable systemd-networkd
systemctl enable systemd-resolved systemctl enable systemd-resolved
@ -40,6 +50,7 @@ systemctl enable fstrim.timer
systemctl enable iwd systemctl enable iwd
systemctl enable sddm systemctl enable sddm
systemctl enable cups systemctl enable cups
systemctl enable bluetooth
sed -i 's/MODULES=()/MODULES=(amdgpu)/' /etc/mkinitcpio.conf sed -i 's/MODULES=()/MODULES=(amdgpu)/' /etc/mkinitcpio.conf

11
pre.sh
View file

@ -70,14 +70,15 @@ btrfs subvolume create @log
btrfs subvolume create @cache btrfs subvolume create @cache
cd ~ cd ~
umount 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} 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=v2,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=v2,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=@cache /dev/vda2 /mnt/cache
mount /dev/vda1 /mnt/boot 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 genfstab -U /mnt >> /mnt/etc/fstab
arch-chroot /mnt
#--UEFI-btrfs-- #--UEFI-btrfs--