Hi, team silverblue!

I wonder if there is currently possible, maybe with some workarounds, to use nix, guix, snapd on Fedora Silverblue. They all require non-FHS mount points like /nix .

I’ve not played with any of those, but I have had some luck using packages distributed as AppImages on Silverblue without much issue. If something’s not available through flatpak, I tend to try to find an AppImage for it.

1 Like

See https://github.com/projectatomic/rpm-ostree/issues/337 and https://github.com/projectatomic/rpm-ostree/issues/1711

Thank you. Would be great to see it done. Fedora silverblue is awesome technology

Actually, you can use snaps on Silverblue too:

rpm-ostree install snapd
chattr -i / && ln -s /var/lib/snapd/snap /snap
2 Likes

Rather than manually creating the symlink, the better way would probably be to use systemd-tmpfiles, which is used to create some of the other symlinks on the system.

Hi @refi64, how can I use systemd-tmpfiles to create /nix?

I think the better route would be to use one of the rootless install methods described here. Nix won’t allow /nix to be a symlink by default because it can cause issues with source builds.

2 Likes

Thanks, @refi64! It worked!

1 Like

Hi @refi64 , interesting thread. I’m the maintainer for the Dwarf Fortress Classic snap and I’ve been using VMs for a while to update and manage it. Is it possible to use a rootless method to install snapd and snaps? Or would it be better to use the method outlined by @pwtail above?

I can stick to VMs, it’s not a blocker for me but any help would be appreciated, thanks!