diff options
author | tv <tv@krebsco.de> | 2016-02-01 17:50:00 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-02-01 17:50:00 +0100 |
commit | d82584450cc02aeca15aa7df1bb4731863b558e4 (patch) | |
tree | 4b3e2af30ce6933e014ed500ab3e64df5af1febe | |
parent | f574a1dc9cd0c1a868e6fafc172f31a8fdd01c51 (diff) |
tv exim-retiolum: open smtp port to retiolum
-rw-r--r-- | tv/1systems/nomic.nix | 8 | ||||
-rw-r--r-- | tv/1systems/wu.nix | 8 | ||||
-rw-r--r-- | tv/1systems/xu.nix | 8 | ||||
-rw-r--r-- | tv/2configs/exim-retiolum.nix | 5 |
4 files changed, 4 insertions, 25 deletions
diff --git a/tv/1systems/nomic.nix b/tv/1systems/nomic.nix index 2b71a97..37ef204 100644 --- a/tv/1systems/nomic.nix +++ b/tv/1systems/nomic.nix @@ -13,14 +13,6 @@ with lib; ../2configs/pulse.nix ../2configs/retiolum.nix ../2configs/xserver - { - tv.iptables = { - enable = true; - input-internet-accept-new-tcp = [ - "smtp" - ]; - }; - } ]; boot.initrd.luks = { diff --git a/tv/1systems/wu.nix b/tv/1systems/wu.nix index a51e0e6..aef8ca7 100644 --- a/tv/1systems/wu.nix +++ b/tv/1systems/wu.nix @@ -125,14 +125,6 @@ with lib; unison ]; } - { - tv.iptables = { - enable = true; - input-internet-accept-new-tcp = [ - "smtp" - ]; - }; - } ]; boot.initrd.luks = { diff --git a/tv/1systems/xu.nix b/tv/1systems/xu.nix index 847b572..31a8a3e 100644 --- a/tv/1systems/xu.nix +++ b/tv/1systems/xu.nix @@ -123,14 +123,6 @@ with lib; unison ]; } - { - tv.iptables = { - enable = true; - input-internet-accept-new-tcp = [ - "smtp" - ]; - }; - } ]; boot.initrd.luks = { diff --git a/tv/2configs/exim-retiolum.nix b/tv/2configs/exim-retiolum.nix index 1af72c2..aedf258 100644 --- a/tv/2configs/exim-retiolum.nix +++ b/tv/2configs/exim-retiolum.nix @@ -1,5 +1,8 @@ -{ ... }: +{ lib, ... }: + +with lib; { krebs.exim-retiolum.enable = true; + tv.iptables.input-retiolum-accept-new-tcp = singleton "smtp"; } |