From c3fe942a57ac5772ace50df1b6580530d7163565 Mon Sep 17 00:00:00 2001 From: Aristid Breitkreuz Date: Sun, 31 Aug 2014 14:34:12 +0200 Subject: [PATCH] start dhcpcd after network-interfaces --- nixos/modules/services/networking/dhcpcd.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/modules/services/networking/dhcpcd.nix b/nixos/modules/services/networking/dhcpcd.nix index 084ac69e8d5..15dbf80a987 100644 --- a/nixos/modules/services/networking/dhcpcd.nix +++ b/nixos/modules/services/networking/dhcpcd.nix @@ -138,6 +138,9 @@ in { description = "DHCP Client"; wantedBy = [ "network.target" ]; + # Work-around to deal with problems where the kernel would remove & + # re-create Wifi interfaces early during boot. + after = [ "network-interfaces.target" ]; # Stopping dhcpcd during a reconfiguration is undesirable # because it brings down the network interfaces configured by