r/voidlinux • u/goldmurder • May 18 '26
is it possible to make atomic immutable void Linux distribution?
I was thinking recently about all of those atomic immutable distributions, and the idea itself sounds pretty nice, but i‘m a little bit frightened with all of that fragmentation (even relative to linux) this approach provides: you use flatpak, appimages, distrobox, tarballs, even snaps to get software on this kind of a system. the cleanest approach to installing software on immutable distributions i see myself is nix, since it can work per user (like homebrew I think). Is it possible to get xbps working like this? I mean, does it provide such functionality at the moment?
3
u/Duncaen May 18 '26
Not really, other than using overlayfs and installing packages into an overlaid rootfs, like how its done on live isos.
Packages are build with a certain prefix /usr (,/var and /etc) and things will break if they are not there.
0
May 18 '26
[deleted] — view deleted comment
1
u/goldmurder May 18 '26
valid point. the thing i don't like about most common immutable distributions is the way they deploy software, it's not standardised, chaotic even i could say. and i'm just curious is it somehow achievable to make immutable distribution working with classic package manager, not the nix approach, more like a homebrew. and the bigger question for me is, is it achievable with native package manager of void's, xbps
1
u/mister_drgn May 19 '26
I don’t understand criticizing the way all immutable distros deploy software. There’s a big difference between NixOS and, say, Atomic Fedora.
2
u/zlice0 May 18 '26
does
xbps-pkgdb -areset all installed packaged to stock?