stockholm/modules/tv/iptables/options.nix

30 lines
560 B
Nix
Raw Normal View History

2015-06-22 13:24:09 +00:00
{ 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 = ''
2015-06-22 13:30:31 +00:00
TCP ports, accepting incoming connections from anywhere.
2015-06-22 13:24:09 +00:00
'';
};
input-retiolum-accept-new-tcp = mkOption {
type = with types; listOf str;
default = [];
description = ''
2015-06-22 13:30:31 +00:00
TCP ports, accepting incoming connections from Retiolum.
2015-06-22 13:24:09 +00:00
'';
};
}