Enable tailscale through /etc/nixos/configuration.nix:
services.tailscale.enable = true;
Rebuild:
sudo nixos-rebuild switch
Then you can start tailscale:
sudo tailscale up
This should provide a link that can be used to add a device to a tailscale network.