summaryrefslogtreecommitdiff
path: root/sys/nspawn/dmz.nix
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2025-01-11 16:38:39 -0600
committerAlejandro Soto <alejandro@34project.org>2025-01-11 16:38:39 -0600
commitb560049e1e9866c5a9f16e4a749194411d64a11b (patch)
tree47297a9614e87096c8c287b1f9cf513e701d5611 /sys/nspawn/dmz.nix
parent344884ab44642af52a23a69137f87a289ae8f71f (diff)
flake, sys: remove conduit
Diffstat (limited to 'sys/nspawn/dmz.nix')
-rw-r--r--sys/nspawn/dmz.nix12
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
};