I have Kubuntu 21.10 installed and I want to use systemd-boot instead of GRUB. I am aware of another ask Ubuntu question but it does not mention anything about dkms modules. The original guide mentions that a deviation of the guide is needed for users with dkms modules, but does not mention what to change:
Note: We can get away with one script in three places because we don't have anything special going on during the build, but if you have initramfs PREREQs, special firmware/dkms build tasks, are stuck running a version of run-parts that demands /bin/sh compatibility, or want to do other fun and wonderful things like mirror the entire EFI partition to another location for safety, you'll need to deviate from this tutorial a little bit.
How can I use systemd-boot and configure it properly for my dkms modules? (I don't have dual boot)