summary refs log tree commit diff
path: root/nixos/modules/services/networking/firewall.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-06-15 18:18:46 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-06-15 18:18:46 +0200
commit6e6a96d42cf56cfcd042bbeab89e37f442f0cfcc (patch)
tree7ab1646f34c7437c6cb41442a398163e00cb98bb /nixos/modules/services/networking/firewall.nix
parentc63bc92d4c040fb7999185e1948b29c3c84bacf9 (diff)
downloadnixpkgs-6e6a96d42cf56cfcd042bbeab89e37f442f0cfcc.tar
nixpkgs-6e6a96d42cf56cfcd042bbeab89e37f442f0cfcc.tar.gz
nixpkgs-6e6a96d42cf56cfcd042bbeab89e37f442f0cfcc.tar.bz2
nixpkgs-6e6a96d42cf56cfcd042bbeab89e37f442f0cfcc.tar.lz
nixpkgs-6e6a96d42cf56cfcd042bbeab89e37f442f0cfcc.tar.xz
nixpkgs-6e6a96d42cf56cfcd042bbeab89e37f442f0cfcc.tar.zst
nixpkgs-6e6a96d42cf56cfcd042bbeab89e37f442f0cfcc.zip
Some more type cleanup
Diffstat (limited to 'nixos/modules/services/networking/firewall.nix')
-rw-r--r--nixos/modules/services/networking/firewall.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/networking/firewall.nix b/nixos/modules/services/networking/firewall.nix
index b05a640e11f..40681f5b957 100644
--- a/nixos/modules/services/networking/firewall.nix
+++ b/nixos/modules/services/networking/firewall.nix
@@ -287,7 +287,7 @@ in
     };
 
     networking.firewall.trustedInterfaces = mkOption {
-      type = types.listOf types.string;
+      type = types.listOf types.str;
       description =
         ''
           Traffic coming in from these interfaces will be accepted
@@ -379,7 +379,7 @@ in
     networking.firewall.connectionTrackingModules = mkOption {
       default = [ "ftp" ];
       example = [ "ftp" "irc" "sane" "sip" "tftp" "amanda" "h323" "netbios_sn" "pptp" "snmp" ];
-      type = types.listOf types.string;
+      type = types.listOf types.str;
       description =
         ''
           List of connection-tracking helpers that are auto-loaded.