From b3f5a88eba6f1cc0952b47f89e3f13a74d1aecd8 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Thu, 16 May 2019 20:12:47 +0200 Subject: machines/haku: open less ports in firewall --- machines/profpatsch/haku.nix | 5 ++--- pkgs/profpatsch/execline/run-execline.nix | 1 + 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; -- cgit 1.4.1