artix

desc
git clone https://git.awy.one/artix.git
Log | Files | Refs | README | LICENSE

commit 12473ca5064e59d682b4b0466dd119a5ac7c20d2
parent e855ef62870d1bf1b29596c1a3b696251db84b52
Author: awy <awy@awy.one>
Date:   Thu,  7 Nov 2024 18:38:22 +0300

tidy

Diffstat:
Mpost_chroot.sh | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/post_chroot.sh b/post_chroot.sh @@ -25,8 +25,7 @@ binKernel(){ echo "options hid_apple fnmode=0" > /etc/modprobe.d/hid_apple.conf pacman -S grub os-prober efibootmgr --noconfirm grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub - GRUB_MODIFIED_LINE='GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet options root=PARTUUID='$PARTUUID_ROOT' rw nvidia-drm.modeset=1 modeset=1 fbdev=1 intel_iommu=on"' - sed -i "s/GRUB_CMDLINE_LINUX_DEF\(.*\)/$GRUB_MODIFIED_LINE/g" /etc/default/grub + sed -i "s#GRUB_CMDLINE_LINUX_DEFAULT=.*#GRUB_CMDLINE_LINUX_DEFAULT=\"loglevel=3 quiet options root=PARTUUID=$PARTUUID_ROOT rw nvidia-drm.modeset=1 modeset=1 fbdev=1 intel_iommu=on\"#g" /etc/default/grub sed -i -e 's/MODULES=()/MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)/g' /etc/mkinitcpio.conf case $choosenKernel in 1) pacman -S linux-headers --noconfirm ;;