Could Nix os be like active directory on Linux? - eviltoast

So I’ve been looking into Nix and it seems like a pretty cool way of managing machines. However, I’m curious about how well it can manage user authentication. Theoretically one should be able to setup the equivalent of roaming profiles with rsync and some sort of authentication server but I haven’t seen a lot of information on this topic.

Anyone used Nix in a group or company setting? If so, how did it work?