diff --git a/scripts/Common/Software/nvidia-dkms/main.fish b/scripts/Common/Software/nvidia-dkms/main.fish index 06074c85..ba45c051 100755 --- a/scripts/Common/Software/nvidia-dkms/main.fish +++ b/scripts/Common/Software/nvidia-dkms/main.fish @@ -4,9 +4,6 @@ begin source "$dir/../../Scripts/software.fish" function configureSW -V dir - set -l indicator "GRUB_CMDLINE_LINUX_DEFAULT=\"" - set -l config "nvidia_drm.fbdev=1" - # According to: https://wiki.archlinux.org/title/NVIDIA/Tips_and_tricks begin printf %s\n \ @@ -18,16 +15,6 @@ begin nvidia-suspend.service \ nvidia-hibernate.service \ nvidia-resume.service - - if ! cat /etc/default/grub | grep "$indicator.*$config" >/dev/null - sudo sed -i /etc/default/grub \ - -e "/$indicator/{" \ - -e "s/\($indicator.*[^ ]\)\(\"\)/\1 \2/" \ - -e "s/\($indicator.*\)\(\"\)/\1$config\2/" \ - -e "}" - - fish "$dir/../grub/main.fish" configure - end end runInstaller $argv