depot/cluster/services/fbi/default.nix

18 lines
329 B
Nix
Raw Permalink Normal View History

2023-12-04 00:34:07 +02:00
{ depot, ... }:
{
services.fbi = {
nodes.host = [ "VEGAS" ];
nixos.host = ./host.nix;
};
2023-12-04 00:34:07 +02:00
dns.records = let
fbiAddr = [ depot.hours.VEGAS.interfaces.primary.addrPublic ];
in {
fbi-index.target = fbiAddr;
fbi-requests.target = fbiAddr;
radarr.target = fbiAddr;
sonarr.target = fbiAddr;
};
}