summary refs log tree commit diff
path: root/modules/services/networking/firewall.nix
diff options
context:
space:
mode:
authorMarc Weber <marco-oweber@gmx.de>2013-03-14 17:09:21 +0100
committerMarc Weber <marco-oweber@gmx.de>2013-03-14 17:09:21 +0100
commitf3e6b422586a984a58d7b469abe121e686ee7613 (patch)
treed2acdcb8ea7a0daa430029d095030779305b4484 /modules/services/networking/firewall.nix
parent6e20c697cd1a7a32f09aa83725256cf8eff8e9cb (diff)
downloadnixpkgs-f3e6b422586a984a58d7b469abe121e686ee7613.tar
nixpkgs-f3e6b422586a984a58d7b469abe121e686ee7613.tar.gz
nixpkgs-f3e6b422586a984a58d7b469abe121e686ee7613.tar.bz2
nixpkgs-f3e6b422586a984a58d7b469abe121e686ee7613.tar.lz
nixpkgs-f3e6b422586a984a58d7b469abe121e686ee7613.tar.xz
nixpkgs-f3e6b422586a984a58d7b469abe121e686ee7613.tar.zst
nixpkgs-f3e6b422586a984a58d7b469abe121e686ee7613.zip
replace list by listOf using same style as for attrsOf
Diffstat (limited to 'modules/services/networking/firewall.nix')
-rw-r--r--modules/services/networking/firewall.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/services/networking/firewall.nix b/modules/services/networking/firewall.nix
index 7bc09a7b404..c47210c7cef 100644
--- a/modules/services/networking/firewall.nix
+++ b/modules/services/networking/firewall.nix
@@ -108,7 +108,7 @@ in
     };
 
     networking.firewall.trustedInterfaces = mkOption {
-      type = types.list types.string;
+      type = types.listOf types.string;
       description =
         ''
           Traffic coming in from these interfaces will be accepted
@@ -119,7 +119,7 @@ in
     networking.firewall.allowedTCPPorts = mkOption {
       default = [];
       example = [ 22 80 ];
-      type = types.list types.int;
+      type = types.listOf types.int;
       description =
         ''
           List of TCP ports on which incoming connections are
@@ -130,7 +130,7 @@ in
     networking.firewall.allowedUDPPorts = mkOption {
       default = [];
       example = [ 53 ];
-      type = types.list types.int;
+      type = types.listOf types.int;
       description =
         ''
           List of open UDP ports.
@@ -168,7 +168,7 @@ in
     networking.firewall.connectionTrackingModules = mkOption {
       default = [ "ftp" ];
       example = [ "ftp" "irc" "sane" "sip" "tftp" "amanda" "h323" "netbios_sn" "pptp" "snmp" ];
-      type = types.list types.string;
+      type = types.listOf types.string;
       description =
         ''
           List of connection-tracking helpers that are auto-loaded.