I have tried using the Guix Package manager. What I wanted to do is instead of using a mix of ansible scripts to create an image and then create another ansible script for deploying in LXD cluster, wanted to use Guile with Guix for everything on LXD cluster.
In the long term idea was to use Guix combined with Guile to build an alternative to Kubernetes on top of LXD cluster.
At present K8s is very complicated where iuse a mixture of Bash scripts, Dockerfile to create an image and than use kubectl with YAML for deployment. It can be done with code but is not elegant only a patchwork of many different things.
Guix (or Nix) is elegant with very beautiful language (I like lisp and Scheme) to not just create reproducible image (with verification) but also deploy like the way we write application code. K8s uses combination of bash scripts, Dockerfile, YAML and a complex set of tooling, just propelled by marketing.
So was thinking if can run Guix directly on LXD to experiment, probably will try using Guix VM with LXD daemon, looks like container is not the solution.