

I see what you mean, interesting. Didn’t really look at NixOS as a server os. I personally prefer using multiple compose files (in the process of migrating to k8s). I share resources too, like in your example, I just point to the existing DB instance, not create a new one for each new service.
you can get away with half that. i run my setup (similar to what you wrote) on a dell micro sff with an i5 6500t and 16gb ram that i paid 90€ for. not the snappiest, but works just fine.