How to properly build from source in Silverblue/Kinoite?

Hello! First post in here, little disclaimer my English is not the best and I’m on a new F36 Kinoite beta install and although it’s not my first time using this immutable distro I’m still a complete noob:

Basically a few days ago I received a new laptop, I’m in the process of moving everything to this install, I have encountered some difficulties when trying to build from source these two projects:

GitHub - rvaiya/keyd: A key remapping daemon for linux. To remap the capslock key and give it a good use case.

GitHub - mkottman/acpi_call: A linux kernel module that enables calls to ACPI methods through /proc/acpi/call. Now with support for Integer, String and Buffer parameters. To manage my new laptops system performance modes as it’s indicated in here: Lenovo IdeaPad 5 15are05 - ArchWiki The difference being that acpi_call is on the official repos.

I’m seeing myself unable to understand how to build and use this programs/projects, because one needs to be started as a service with systemctl, and the other one is a kernel module. How am I supposed to make/build this two projects in this versions of Fedora and make use of them?

I have tried searching for tutorials or anything related to this, but I haven’t really found clear instructions how to do this. So I tried asking on some Discord servers, and although I saw some kind of indications I still see myself unable to install and use this programs.

How am I supposed to install all of this? Layer make? I think you can’t really install software that way since the directories are immutable, maybe build inside a toolbx? As far as I’m concerned you still need to do sudo make install and that doesn’t let you use the programs on the host.

A user on Discord told me I can copy the binaries, are there any automated ways of moving the builded project to the host? How does that work? How do I see what files I need to move from the container? And if I can see the files, where do I put them on the host?

This same user also pointed out I can create rpm packages and layer them this way, are there any other alternatives to this? Or maybe a script that could create this for me? It’s easier said than done and I don’t see myself spending too much time into creating entire packages and also expect them to work in the first try to then have to update them every few weeks and fix possible problems with them (or it I guess, only keyd seems to receive constant updates).