Setting up a custom image

  1. If it’s an rpm or available on dnf, you can put it in the Install section of recipe.yaml yes. Here’s an example of mine. Note that some stuff can’t be pulled by the builder for some reason - I usually put that in some random folder (/scripts/post/rpm for me).

  2. Modules is pretty new, I still use recipe.yaml myself and declarative-flatpak via Nix Home-Manager for flatpak syncing. Sorry, can’t help here.

  3. I think you can just copy-paste it to /usr/etc/ in the repo? At worst, you may need to make a post script deleting the auto-generated tlp.conf (if it’s part of the package) and then readding the correct file.

  4. Not sure, I don’t use that stuff.

  5. If it doesn’t have any issue with a normal distro, it shouldn’t have an issue here too. Of course, turning off mitigations and such is always a risk, but I’d assume you already do your due diligence with those risks.

  6. I’d probably just use the dx image as a a base image? See my kinoite and bazzite recipes. I just remove stuff I don’t want and install stuff I want based on that image.