Source : https://fedoraproject.org/wiki/Bumblebee#For_free_or_open_source_solution
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.lvm.lv=fedora_tofu/root rd.lvm.lv=fedora_tofu/swap rhgb quiet video=VGA-2:d acpi_backlight=vendor"
GRUB_DISABLE_RECOVERY="true"
grub2-mkconfig -o /boot/grub2/grub.cfg