Script for laptops with Hybrid GPU (Intel + Nvidia), providing proprietary Nvidia drivers on Fedora and set Nvidia GPU as default display output.
Just run it on your terminal:
curl -s https://raw.githubusercontent.com/begati/fedora-nvidia-optimus-config/main/config.sh | sudo bash