Fixed bazarr and cross-seed

This commit is contained in:
rasmus-kirk
2024-03-12 17:28:21 +01:00
parent ec656712e2
commit 39f6357a0a
6 changed files with 115 additions and 26 deletions
+5 -4
View File
@@ -244,10 +244,11 @@ in with lib; {
# Port mappings
# TODO: openports if expose.vpn
vpnnamespaces.wg = mkIf cfg.vpn.enable {
portMappings = [{ From = defaultPort; To = defaultPort; }];
openVPNPorts = optionalString cfg.expose.vpn.enable [
{ port = cfg.expose.vpn.port; protocol = "tcp"; }
];
portMappings = [{ from = defaultPort; to = defaultPort; }];
openVPNPorts = optional cfg.expose.vpn.enable {
port = cfg.expose.vpn.port;
protocol = "tcp";
};
};
};
}