On 11/07/2025 16:26, Ray Miller wrote:
On 11/07/2025 09:57, Ant wrote:
Hi all,
as subject says, I'd like to know if it is possible to install Guix on
in a {Tool Distro}box container when using an immutable distro such as
Silverblue as host. My use case is to install Emacs along with its
related external CLI binaries in a reproducible and tightly coupled
environment.
Would it be feasible to do such thing? Do you have some suggestions in
this regard?
I have done this on Fedora Kinoite (the KDE flavour of their immutable
distro), which also uses toolbx. This was mostly a proof of concept and
there were some downsides so I haven't used it heavily, but the basics
were working.
I finally got around to writing up what I think is a slightly nicer
approach,
running the Guix daemon in a podman container and sharing the store and var
volumes to the Toolbox containers, making Guix available on those foreign
distributions. The downside is that it needs a change to the `toolbox`
command
to enable mounting of these volumes. Full details here:
https://1729.org.uk/posts/guix-container-toolbox/
I'm going to run with this for a while and see if I encounter any odd
corner cases (so far it's working as expected).
Ray.