Hacker News new | ask | show | jobs
by averms 447 days ago
I think bootc is exactly what you're looking for. I use it[1] for configuration like you mentioned but also for:

- Installing codecs from third-party repositories. This is especially nice to do in CI because you get a build failure if packaging drift happens.

- Installing out-of-tree drivers. Again, you get a build failure in CI if an out-of-tree kernel module won't build. In addition, you can use multi-stage builds (see the Dockerfile in my repo for an example) to avoid pulling dependencies into your final system image. This saves me from having the 70 or so RPM packages that are required for building NVIDIA drivers installed on my PC.

It's not as ambitious as NixOS but I think it gives a lot of the same benefits with far less effort.

[1]: https://github.com/averms/verms-os

1 comments

Thank you! Then I'll look a bit more into it.