Have you taken a look at NixOps[1] and Disnix[2]? They extend the concepts of Nix and NixOS into networks of machines and distributed services (TL;DR version).
If you are using only one system, the NixOS containers support might be enough, though.
I did used nixops. I quite enjoyed it, though the local state database was annoying. I wish it was more like k8s, keeping its state internally in a distributed db. I'll look into disnix. Thanks!