Merge pull request #44524 from vincentbernat/fix/dhcpcd-systemd

dhcpcd service: order before network target

Changed files
+1 -1
nixos
modules
services
networking
+1 -1
nixos/modules/services/networking/dhcpcd.nix
···
{ description = "DHCP Client";
wantedBy = [ "multi-user.target" ] ++ optional (!hasDefaultGatewaySet) "network-online.target";
-
after = [ "network.target" ];
wants = [ "network.target" ];
# Stopping dhcpcd during a reconfiguration is undesirable
# because it brings down the network interfaces configured by
···
{ description = "DHCP Client";
wantedBy = [ "multi-user.target" ] ++ optional (!hasDefaultGatewaySet) "network-online.target";
wants = [ "network.target" ];
+
before = [ "network.target" ];
# Stopping dhcpcd during a reconfiguration is undesirable
# because it brings down the network interfaces configured by