diff options
Diffstat (limited to 'sys/nspawn')
| -rw-r--r-- | sys/nspawn/dmz.nix | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/nspawn/dmz.nix b/sys/nspawn/dmz.nix index 6c006d1..905e491 100644 --- a/sys/nspawn/dmz.nix +++ b/sys/nspawn/dmz.nix @@ -7,9 +7,6 @@ with lib; let hassPort = config.services.home-assistant.config.http.server_port; hassEnable = config.local.home-assistant.enable; - - conduitPort = config.local.conduit.listenPort; - conduitEnable = config.local.conduit.enable; in { options.local.nspawn.dmz = { @@ -70,7 +67,6 @@ in config = mkIf cfg.enable { local = { mailHost.mdaListen = cfg.hostAddr; - conduit.listenAddress = mkIf conduitEnable cfg.hostAddr; nspawn.dmz = { dmzAddr = dmzNet.hosts.dmz.v4.address; @@ -98,11 +94,6 @@ in enable = hassEnable; proxyUrl = "http://${cfg.hostAddr}:${toString hassPort}"; }; - - matrix = { - enable = conduitEnable; - proxyUrl = "http://${cfg.hostAddr}:${toString conduitPort}"; - }; }; }; @@ -222,8 +213,7 @@ in interfaces.ve-dmz = { allowedTCPPorts = [ mailHost.saslPort mailHost.lmtpPort ] - ++ optional hassEnable hassPort - ++ optional conduitEnable conduitPort; + ++ optional hassEnable hassPort; allowedUDPPorts = [ 67 ]; # DHCP }; |
