r/voidlinux • u/carmola123 • May 11 '26
void + nix: expectations and things to be wary of?
I've been meaning to format my computer for a good while now (wanted to switch to ZFS on root for a backup solution I cooked up), and I thought this might be a nice opportunity to experiment with other distros, like Void.
That said, I've been using NixOS on another machine for a while, and the usage of Nix for creating development shells has been incredible, with package versioning and everything else being taken care of so easily it nigh on brings a tear to my eye. I immediately thought of installing NixOS on this machine, however, some stuff I make just doesn't work on NixOS that well, be it due to Nix's filesystem structure or other stuff not playing out well with the store. And so I thought I could use nix as just an additional package manager on top of another distro, and the one I was most curious about was Void.
The idea here is to install most things on Void through xbps normally, but development tooling and stuff I use for work would be handled by Nix. Maybe, if things work out especially well, I could also move desktop environment and home files to Nix as well, but I'm not sure the lack of systemd will play out well in that regard.
I'd like to know, are there others daily driving setups similar to this, especially developers? I'd like to know your experiences, and if this is more trouble than it's worth.
4
u/bankroll5441 May 11 '26
I don't have Nix installed to use Nix pkgs but rather to have Nix on my Void devices so I can manage my NixOS machines and test builds. Biggest issue I've run into is that the nix daemon relies on systemd
2
u/Such-Historian335 May 11 '26
i only use nix profile for stuff that don't exist on void packages, but i don't use nix for development tools, i use mise for that