summary refs log tree commit diff
path: root/nixos/modules/services/networking/dhcpcd.nix
diff options
context:
space:
mode:
authorCraig Hall <ch9871@gmail.com>2019-05-12 16:45:20 +0100
committerCraig Hall <ch9871@gmail.com>2019-07-11 12:23:41 +0100
commit2ae58dfc7906c68cf017178530754cc18aadcfd7 (patch)
tree9dd0df0ea16360229d6d8718e2ec1994405869c9 /nixos/modules/services/networking/dhcpcd.nix
parent95395fbf549908e8fe59922653e9dadd4da4792e (diff)
downloadnixpkgs-2ae58dfc7906c68cf017178530754cc18aadcfd7.tar
nixpkgs-2ae58dfc7906c68cf017178530754cc18aadcfd7.tar.gz
nixpkgs-2ae58dfc7906c68cf017178530754cc18aadcfd7.tar.bz2
nixpkgs-2ae58dfc7906c68cf017178530754cc18aadcfd7.tar.lz
nixpkgs-2ae58dfc7906c68cf017178530754cc18aadcfd7.tar.xz
nixpkgs-2ae58dfc7906c68cf017178530754cc18aadcfd7.tar.zst
nixpkgs-2ae58dfc7906c68cf017178530754cc18aadcfd7.zip
nixos/dhcpcd: Before network-online.target
Instead of network.target. Fixes #60900 (delayed boot).
Diffstat (limited to 'nixos/modules/services/networking/dhcpcd.nix')
-rw-r--r--nixos/modules/services/networking/dhcpcd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/dhcpcd.nix b/nixos/modules/services/networking/dhcpcd.nix
index c217ccaa405..7b278603455 100644
--- a/nixos/modules/services/networking/dhcpcd.nix
+++ b/nixos/modules/services/networking/dhcpcd.nix
@@ -162,7 +162,7 @@ in
 
         wantedBy = [ "multi-user.target" ] ++ optional (!hasDefaultGatewaySet) "network-online.target";
         wants = [ "network.target" "systemd-udev-settle.service" ];
-        before = [ "network.target" ];
+        before = [ "network-online.target" ];
         after = [ "systemd-udev-settle.service" ];
 
         # Stopping dhcpcd during a reconfiguration is undesirable