Keep receiving "ERROR: Module nvidia not found" in Fedora 36 after installing graphics drivers

Update 2: I found a similar thread here, but btm.mosti’s solution seemed unclear. Are the segments under “Update grub2 conf” and “Generate initramfs” also supposed to be appended to “etc/sysconfig/grub”, and if not, where do they go? And what would my xorg.conf be?