Tailscale declarative serve configuration

Tailscale is such a great product, thanks for making it available for free!
Is there a way to configure serves declaratively (like a config file that is being picked up by the daemon at start)? Or should I just create a systemd unit that runs the appropriate commands on boot? A NixOS module would also be nice…