23 lines
323 B
Nix
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 = 6969;
|
|
allowLan = true;
|
|
};
|
|
};
|
|
|
|
users.groups.media.members = [ "sonarr" ];
|
|
}
|