Wayland session no longer works after upgrading to Fedora 41

FYI, I don’t know if this would relate to the specific issue you’re seeing, but there are steps to get Nvidia drivers working with Secure Boot enabled that are far, far less manually involved than what’s listed on that page:

https://rpmfusion.org/Howto/Secure%20Boot

If there are any issues there, I’ve used steps shared by Jeff V many times to fix Nvidia woes: