nixos/hosts/architect/sonarr.nix
2023-06-05 03:02:26 +02:00

23 lines
339 B
Nix

{ 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" ];
}