Running Unifi on NixOS is a bit of a pain since the license means that there is no binary cache for the package, resulting in frequent rebuilds.
I’ve also not had a great time with the mongo upgrades in the past that caused my controller to not start.