nixos/hosts/architect/bazarr.nix

26 lines
408 B
Nix
Raw Normal View History

{ config, lib, ... }:
let
domain = "htbaz.giugl.io";
in
{
2023-06-04 23:50:31 +01:00
services.bazarr = {
enable = true;
group = "media";
};
2021-07-07 13:13:19 +01:00
2023-06-04 23:50:31 +01:00
architect.vhost.${domain} = with config.architect.networks; {
2023-10-21 14:00:58 +01:00
dnsInterfaces = [ "tailscale" ];
2023-06-04 23:50:31 +01:00
locations."/" = {
2023-06-05 02:10:13 +01:00
allowLan = true;
2023-06-04 23:50:31 +01:00
port = 6767;
2023-06-05 02:10:13 +01:00
2023-06-04 23:50:31 +01:00
allow = [
tailscale.net
];
2021-07-07 13:13:19 +01:00
};
};
2021-11-25 11:42:32 +00:00
users.groups.media.members = [ "bazarr" ];
2021-07-07 13:13:19 +01:00
}