Compare commits

..

No commits in common. "29ffbdb7447a40c68004377d823f38ffe7f7bec1" and "2befef5e458d304a6a930bfbd1858da13e49089c" have entirely different histories.

2 changed files with 7 additions and 19 deletions

View file

@ -15,30 +15,20 @@ 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 pacman -S efibootmgr mtools dosfstools sof-firmware os-prober
#pacman -S grub os-prober efibootmgr mtools dosfstools sof-firmware os-prober #pacman -S grub os-prober efibootmgr mtools dosfstools
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
@ -50,7 +40,6 @@ 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,15 +70,14 @@ btrfs subvolume create @log
btrfs subvolume create @cache btrfs subvolume create @cache
cd ~ cd ~
umount umount
mount -o noatime,compress=zstd,space_cache=v2,discard=async,subvol=@ /dev/vda2 /mnt mount -o noatime,compress=zstd,space_cache,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=v2,discard=async,subvol=@home /dev/vda2 /mnt/home 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=@log /dev/vda2 /mnt/var/log 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=@cache /dev/vda2 /mnt/cache mount -o noatime,compress=zstd,space_cache,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 btrfs-progs pacstrap /mnt base linux linux-lts linux-firmware amd-ucode tamsyn-font vim git
genfstab -U /mnt >> /mnt/etc/fstab genfstab -U /mnt >> /mnt/etc/fstab
arch-chroot /mnt
#--UEFI-btrfs-- #--UEFI-btrfs--