about summary refs log tree commit diff
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2019-05-16 20:12:47 +0200
committerProfpatsch <mail@profpatsch.de>2019-05-16 20:12:47 +0200
commitb3f5a88eba6f1cc0952b47f89e3f13a74d1aecd8 (patch)
treeeae1621fbf1f49396c44ced8e57398768360c457
parent0534b15b3a0849b866d74c3f353ed079a9de3856 (diff)
machines/haku: open less ports in firewall
-rw-r--r--machines/profpatsch/haku.nix5
-rw-r--r--pkgs/profpatsch/execline/run-execline.nix1
2 files changed, 3 insertions, 3 deletions
diff --git a/machines/profpatsch/haku.nix b/machines/profpatsch/haku.nix
index 8b81378b..778e3a22 100644
--- a/machines/profpatsch/haku.nix
+++ b/machines/profpatsch/haku.nix
@@ -115,10 +115,9 @@ in
       firewall = {
         allowedTCPPorts =
           [ 80 443
+            # transmission
+            6882
           ];
-        allowedTCPPortRanges =
-          # rtorrent
-          [{ from = 6881; to = 6889; }];
       };
       nameservers = [
         "62.210.16.6"
diff --git a/pkgs/profpatsch/execline/run-execline.nix b/pkgs/profpatsch/execline/run-execline.nix
index dbc6f4fd..18514464 100644
--- a/pkgs/profpatsch/execline/run-execline.nix
+++ b/pkgs/profpatsch/execline/run-execline.nix
@@ -18,6 +18,7 @@ assert !derivationArgs ? builder;
 assert !derivationArgs ? args;
 
 derivation (derivationArgs // {
+  # TODO: what about cross?
   inherit (stdenv) system;
   inherit name;