diff options
author | tv <tv@shackspace.de> | 2015-06-22 15:24:09 +0200 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-06-22 15:24:09 +0200 |
commit | 53305dc496f7f15504a8ef2f1f9511fb0b2f78ab (patch) | |
tree | 273daca78a42d1f8d8ef4bd5ef6ea33598bfc618 /modules/wu/default.nix | |
parent | 1538630782ac8c56d549af4fcac4c9abcba8c9c5 (diff) |
tv: modularize iptables configuration
Diffstat (limited to 'modules/wu/default.nix')
-rw-r--r-- | modules/wu/default.nix | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/modules/wu/default.nix b/modules/wu/default.nix index 68475ad5b..76e8c6bb3 100644 --- a/modules/wu/default.nix +++ b/modules/wu/default.nix @@ -9,7 +9,6 @@ in { imports = [ ./hosts.nix - ./iptables.nix ../common/nixpkgs.nix ../tv/base.nix ../tv/exim-retiolum.nix @@ -22,6 +21,18 @@ in ../tv/urxvt.nix ../tv/xserver.nix ../wu/users.nix + { + imports = [ ../tv/iptables ]; + tv.iptables = { + enable = true; + input-internet-accept-new-tcp = [ + "ssh" + "http" + "tinc" + "smtp" + ]; + }; + } ]; nix.maxJobs = 8; |