Hello, I am trying to make my on dx version of KDE for the Framework Laptop, I had a few questions,
Based on the guide at Introduction - Universal Blue, is the appropriate place to include a package like Solaar in scripts/recipe.yaml?
The guide at Modules for Startingpoint - Universal Blue also suggests using modules for fonts, flatpaks, etc., but most of the links to custom images shared here seem to use everything in scripts/recipe.yaml itself. Can any of you point me to examples which use the modules?
Do any of these parameters affect Universal Blue adversely? Specifically, I am hiding kernel logs (moving them to tty2), turning off mitigations, turning off watchdog, enabling intel guc and fastboot.
One strange issue that I have notices is that when I provide the GRUB parameters in a separate file and then include that in custom.just, the build fails with an error error: Formatted justfile differs from original. whereas when I provide the code in custom.just, the build succeeds.
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).
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.
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.
Not sure, I don’t use that stuff.
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.
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.
After much fiddling, here is a version that I have created,
I have borrowed large part of the container file from bluefin’s Containerfile as I was not able to figure out the correct repos that I need to use for docker and other packages.