You don’t use nixos-anywhere after initial deployment.
nixos-rebuild
supports remote deployment: https://github.com/NixOS/nixpkgs/blob/a77ab169a83a4175169d78684ddd2e54486ac651/pkgs/os-specific/linux/nixos-rebuild/nixos-rebuild.sh#L124
There’s also a variety of third party remote deployment tools, I use deploy-rs personally.
All these tools fall back on nix-copy-closure
under the hood, and then simply execute the activation script of the new generation via ssh. They differ mainly in how they execute the script and assert the remote is working afterwards.