nixos/hosts/architect/sonarr.nix
2023-10-21 15:12:01 +02:00

23 lines
323 B
Nix

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