diff options
author | Nikolay Amiantov <ab@fmap.me> | 2018-02-18 23:40:22 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2018-02-19 23:31:45 +0300 |
commit | 996ed0830e052fb32546ea317eb01d910a975c9e (patch) | |
tree | 2a3f0c1b63c16f6ec9975fea87646f61fc5b9f26 /nixos/modules/services/networking/dhcpcd.nix | |
parent | e3f947a19a8f64fd190972561d75557f92d8a953 (diff) |
dhcpcd service: always want by multi-user
When default gateways were specified the service wasn't wanted by anything at
all before.
Diffstat (limited to 'nixos/modules/services/networking/dhcpcd.nix')
-rw-r--r-- | nixos/modules/services/networking/dhcpcd.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/dhcpcd.nix b/nixos/modules/services/networking/dhcpcd.nix index d283c7624335..f0f8f1324c5b 100644 --- a/nixos/modules/services/networking/dhcpcd.nix +++ b/nixos/modules/services/networking/dhcpcd.nix @@ -160,7 +160,7 @@ in in { description = "DHCP Client"; - wantedBy = optional (!hasDefaultGatewaySet) "network-online.target"; + wantedBy = [ "multi-user.target" ] ++ optional (!hasDefaultGatewaySet) "network-online.target"; after = [ "network.target" ]; wants = [ "network.target" ]; |