From 2bc5c58d85990e483af8fde57ed5f2442351b69c Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 11 Jul 2015 19:44:12 +0200 Subject: move old stuff --- old/modules/tv/iptables/options.nix | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 old/modules/tv/iptables/options.nix (limited to 'old/modules/tv/iptables/options.nix') diff --git a/old/modules/tv/iptables/options.nix b/old/modules/tv/iptables/options.nix new file mode 100644 index 00000000..1adffebd --- /dev/null +++ b/old/modules/tv/iptables/options.nix @@ -0,0 +1,29 @@ +{ lib, ... }: + +let + inherit (lib) mkOption types; +in + +{ + enable = mkOption { + type = types.bool; + default = false; + description = "Enable iptables."; + }; + + input-internet-accept-new-tcp = mkOption { + type = with types; listOf str; + default = []; + description = '' + TCP ports, accepting incoming connections from anywhere. + ''; + }; + + input-retiolum-accept-new-tcp = mkOption { + type = with types; listOf str; + default = []; + description = '' + TCP ports, accepting incoming connections from Retiolum. + ''; + }; +} -- cgit v1.2.3