Personally I’ve always found working with docker to be pretty frustrating, especially dealing with docker compose. Most of what I run on my server is at least in nixpkgs already if not already a NixOS module, and I just find it less frustrating to write nix than to deal with Docker.
That said, I know nix pretty well at this point and I would probably have a different opinion if I hadn’t spent so much time learning nix.