about summary refs log tree commit diff
path: root/nixos/modules/services
diff options
context:
space:
mode:
authorWilliam A. Kennington III <william@wkennington.com>2013-12-30 03:14:41 -0600
committerWilliam A. Kennington III <william@wkennington.com>2013-12-31 09:28:52 -0600
commit38bc05158d8a2f1f787f79ed4bb185d3f57112dc (patch)
tree8c1954cb4a29c1062aac2c201773073b3702a8f1 /nixos/modules/services
parent609e981b93b2b529154ba4761496252613f51625 (diff)
network-interfaces: Add the ability to create bond devices
This patch adds support for the creations of new bond devices, aggregate
pipes of physical devices for extra throughput or failover.

Additionally, add better correction at the startup of a bridge
of vlan interface (delete old, stale interfaces).
Diffstat (limited to 'nixos/modules/services')
-rw-r--r--nixos/modules/services/networking/dhcpcd.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/dhcpcd.nix b/nixos/modules/services/networking/dhcpcd.nix
index ea263b3c89de3..08a5d6de6a2ba 100644
--- a/nixos/modules/services/networking/dhcpcd.nix
+++ b/nixos/modules/services/networking/dhcpcd.nix
@@ -11,6 +11,7 @@ let
   ignoredInterfaces =
     map (i: i.name) (filter (i: i.ipAddress != null) (attrValues config.networking.interfaces))
     ++ concatLists (attrValues (mapAttrs (n: v: v.interfaces) config.networking.bridges))
+    ++ concatLists (attrValues (mapAttrs (n: v: v.interfaces) config.networking.bonds))
     ++ config.networking.dhcpcd.denyInterfaces;
 
   # Config file adapted from the one that ships with dhcpcd.