{ config, lib, ... }: let domain = "htson.giugl.io"; in { services.sonarr = { enable = true; group = "media"; }; architect.vhost.${domain} = { dnsInterfaces = [ "tailscale" "wireguard" ]; locations."/" = { port = 6969; allowLan = true; }; }; users.groups.media.members = [ "sonarr" ]; }