I use NixOS for everything I can. Desktop, laptop, agent container, a couple servers that have a single purpose. But for my main "homelab"... it's Debian with docker, and a folder-per-project. It's just too easy that way. Yes, you can mostly wrap projects up into a nix derivation... and AI could probably brute force a solution to ANYTHING, but a docker-compose.yaml in a folder just can't be beat.
Now, I _could_ have gone with NixOS instead of Debian as the host. Actually, that probably would have been better. But I would still make it a NixOS system that manages a bunch of docker-compose folders.
Oddly enough, I use NixOS for my least geeky "it just needs to run" box that I don't otherwise tinker with, namely my game machine running Steam. Because it was damn near idiotproof to set up, just had to look up one tweak to fix the mouse pointer size. By comparison, Steam has all kinds of bugs in Crossover on my Mac (but it runs Dwarf Fortress fine, and that's good enough).
Literally just described my current homelab. Docker compose/debian is just such no nonsense and easy to manage, would probably swap back if becomes too much hassle. Just mostly doing it for a curiosity stand point to explore nix a bit more and what it could look like live in production
> a docker-compose.yaml in a folder just can't be beat.
I'd submit k3s (Kubernetes distribution in a 100 MB binary) as beating that. The only real downside is that if you're not already familiar with Kubernetes, there's a learning curve. But it gives you much more capability than Docker Compose, including the ability to seamlessly expand beyond a single node.
You should totally NixOS a try for it!
For my (first) homelab, I had two identical minipcs. I installed Debian and NixOS on one each. I maintained both in parallel as some sort of crappy A/B test and I found NixOS was super easy to manage, and ended up dropping debian in favour of the nix config.
I currently run everything through it (except my video game servers). https://github.com/milotek/nixeljam/tree/personal/modules/ho...
Hell, if you wanna be lazy, you could ask AI to port your setup to a Nix config for you :)