about summary refs log tree commit diff
path: root/nixos/modules/services/networking
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-18 02:40:01 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-18 02:40:01 +0200
commitf7d28f7cd65bb0321880158073915b76836b91a2 (patch)
treea0f13db4d23f7fae6b7db21f6867a3b26c629c20 /nixos/modules/services/networking
parent64b968f81f6ef611826aeda4a1982830e5e3986c (diff)
downloadnixlib-f7d28f7cd65bb0321880158073915b76836b91a2.tar
nixlib-f7d28f7cd65bb0321880158073915b76836b91a2.tar.gz
nixlib-f7d28f7cd65bb0321880158073915b76836b91a2.tar.bz2
nixlib-f7d28f7cd65bb0321880158073915b76836b91a2.tar.lz
nixlib-f7d28f7cd65bb0321880158073915b76836b91a2.tar.xz
nixlib-f7d28f7cd65bb0321880158073915b76836b91a2.tar.zst
nixlib-f7d28f7cd65bb0321880158073915b76836b91a2.zip
Slight test speedup
Don't do a pointless ARP check in dhcpcd.
Diffstat (limited to 'nixos/modules/services/networking')
-rw-r--r--nixos/modules/services/networking/dhcpcd.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/dhcpcd.nix b/nixos/modules/services/networking/dhcpcd.nix
index 8c3f651e434e..349ad27b41c4 100644
--- a/nixos/modules/services/networking/dhcpcd.nix
+++ b/nixos/modules/services/networking/dhcpcd.nix
@@ -80,6 +80,7 @@ in
   options = {
 
     networking.dhcpcd.denyInterfaces = mkOption {
+      type = types.listOf types.str;
       default = [];
       description = ''
          Disable the DHCP client for any interface whose name matches
@@ -90,6 +91,7 @@ in
     };
 
     networking.dhcpcd.extraConfig = mkOption {
+      type = types.lines;
       default = "";
       description = ''
          Literal string to append to the config file generated for dhcpcd.