commit f9adc52e99a094ac1a5e21a5608894c77c48ff0d parent a378b03ea5bc8a3bb2481169c3b70c346fdfa7f6 Author: awy <awy@tutamail.com> Date: Thu, 1 Aug 2024 01:31:28 +0300 minimal Diffstat:
M | post_chroot.sh | | | 11 | ++++++----- |
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/post_chroot.sh b/post_chroot.sh @@ -18,16 +18,16 @@ export LC_COLLATE="C" echo $_hostname > /etc/hostname -pacman -S grub os-prober efibootmgr --noconfirm - -grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub - useradd -m -g users -G wheel,storage,power -s /bin/bash $_username echo root:$_rootpasswd | chpasswd echo $_username:$_userpasswd | chpasswd pacman -Sy --noconfirm +pacman -S artix-archlinux-support --noconfirm +echo "[extra]" >> /etc/pacman.conf +echo "Include = /etc/pacman.d/mirrorlist-arch" >> /etc/pacman.conf +pacman -Sy --noconfirm pacman -S doas --noconfirm cat <<EOL >> /etc/doas.conf @@ -45,8 +45,9 @@ sed -i "s/GRUB_CMDLINE_LINUX_DEF\(.*\)/$POWERSMFSUWER/g" /etc/default/grub pacman -S linux-zen-headers --noconfirm pacman -S trizen --noconfirm -pacman -S nvidia-open-dkms --noconfirm +pacman -S nvidia-open-dkms trizen grub os-prober efibootmgr --noconfirm sed -i -e 's/MODULES=()/MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)/g' /etc/mkinitcpio.conf +grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub grub-mkconfig -o /boot/grub/grub.cfg rm /post_chroot.sh