Problems adding nvidia proprietary drivers to initrd file

It seems like that can be more easily accomplished with:
**yast2 > Boot Loader > Kernel Parameters > Console resolution

**
Either way, it seems that the nvidia modules don’t need to be part of the initial ramdisk for that to work.

However, I did verify that adding

force_drivers+="*nvidia nvidia_drm nvidia_modeset nvidia_uvm*"

to /etc/dracut.conf.d/01-dist.conf
then running dracut -f does add them:

lsinitrd | grep nvidia

nvidia-drm.modeset=1
in the kernel parameters seems to work according to

cat /sys/module/nvidia_drm/parameters/modeset