Still have to configure nginx, systemd and run certbot. But that's a strict subset of what you have to do for mastodon, I also know from experience :-) And the needed config is simpler. Sounds like something to add to nixos.
you don't need TLS for a nostr relay
fwiw this is my configuration right now, maybe it helps: https://gist.github.com/laanwj/a16497ba8b30511b3827e2e733190e5d