It looks like this is using DKMS to build the kernel module and unfortunately we don’t have good support for that right now on Atomic Desktops.
Your best option is to look at building the module via a container build. See the Fedora bootc docs and the fedora-bootc-nvidia repo for an example using another DKMS module.
There is 2 ways to build the driver. One is installing the dkms module, second is to install it without dkms. Neither of these work
They work properly in stock fedora, but i would really want to use Atomic for system stabilty.
But ill have a look at the container build.
And btw for imac 2019 i have created a easy to use fan controller at DerNoli · GitHub, as well as a autobrightness daemon, that can be used as rpm and therefore used with atomic.
The only missing thing is the audio driver. Then you would be the first to have a fully supported mac version.
If you are OK doing a bit of packaging, it should be possible to make a kmod RPM for this module. See https://rpmfusion.org/Packaging/KernelModules/Kmods2 and other kmod modules in the RPM Fusion repos for examples. Kmod modules can be layered on Atomic Desktops so that would make things a bit easier. You will have to disable Secure Boot or figure out signing.