networking.dhcpcd: use upstream targets
commitbc7710468d2152cd1c3a02827b1fe90c8c23d04d
authorAlexander Ried <ried@mytum.de>
dateThu 8 Sep 2016, 22:17 (10 years ago)
parent3dc6979
nixos/modules/services/networking/dhcpcd.nix+1−1
@@ -158,8 +158,8 @@ in
158158 { description = "DHCP Client";
159159
160160 wantedBy = [ "multi-user.target" ];
161+ after = [ "network.target" ];
161162 wants = [ "network.target" ];
162− before = [ "network.target" ];
163163
164164 # Stopping dhcpcd during a reconfiguration is undesirable
165165 # because it brings down the network interfaces configured by