So, #guix friends. This system is amazing, but there are programs that say Debian has which are not available on Guix, and there are other reasons I might want to run another system.

Can I install Incus, and create Debian containers, and have GUI apps inside the container run connecting to my host Guix X/wayland server? Maybe by exposing some /tmp/x_something_or_other sockets?

Has anyone done that and gotten sound and graphics working inside the container by connecting to the host?

@dlakelan For GUI apps, the simplest solution might be to use flatpak. Pro: should "just work" so long as flatpak is available in Guix. Con: flatpak apps are more difficult to capture as declarative configuration in your config.scm or home.scm.

@Guillawme

Oh yeah, I am definitely doing that already. And honestly that's a good point. But also, there are some reasons to want an entire system container, but the stuff in the container has GUI access without some hacky high latency VNC type stuff. Even if only to help other people debug stuff by emulating it on my local machine.

@dlakelan Similar to this? https://regrow.earth/blog/2024-10-29_gui-apps-in-incus-containers/

The post is about Devuan on Incus on Alpine; after reading it, your use case seems doable but! I have no idea 😅 never used Guix or even Wayland (Xfce curmudgeon here).

Boosted, though I think you're the Guix expert in my feed, good luck!

🌳 Running Graphical Applications in Incus Containers - Regrow.Earth

@jandi

YES. I think I've even read this before, so this probably inspired my idea. I'll look at it again.

@dlakelan X and wayland also afaik are just sockets. Look into running X11 apps in docker. Just passing through DISPLAY, /tmp/.X11-unix, /dev/dri and perhaps /dev/input works for me for guix shell -C.
@dlakelan there is flashback and postman available
@sharlatan
couldn't find anything with guix search X for those two X... did you mean podman?
@dlakelan sorry 😔 yes
Platpack
Podman
@sharlatan
🤣 No worries, autocorrect has made everyone confused all the time.