Install the latest 5.15 kernel instead of the last one from the 6.1 series

In the Qubes repository I see that newer versions of the 5.15 kernel are available: Index of /r4.1/current/dom0/fc32/rpm/

When I update Qubes, I only get the latest kernel from the 6.1 series, but all of them are not working on my hardware. How do I install the latest 5.15 kernel (5.15.124) successfully? Also, is it possible to configure Qubes to always install the latest 5.15 kernel instead of the 6.1?

Run this in a dom0 terminal:

sudo qubes-dom0-update kernel-515 kernel-515-qubes-vm

If you want to get rid of kernel versions 6.x (do this in a dom0 terminal after you switched to a 5.15 based kernel for both dom0 and VMs):

sudo dnf remove kernel kernel-qubes-vm kernel-modules kernel-devel