From 0626c1ecf054d61c4fd75dfb85997b814dca6259 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Mon, 24 Nov 2014 11:51:43 -0800 Subject: [PATCH] nixos/systemd: ip-up and network-online targets should come after networkd-wait-online --- nixos/modules/system/boot/systemd.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix index f34c16b9ac0..290b2538332 100644 --- a/nixos/modules/system/boot/systemd.nix +++ b/nixos/modules/system/boot/systemd.nix @@ -1027,7 +1027,10 @@ in restartTriggers = [ config.environment.etc."systemd/network".source ]; }; - systemd.services.systemd-networkd-wait-online.wantedBy = [ "network-online.target" ]; + systemd.services.systemd-networkd-wait-online = { + before = [ "network-online.target" "ip-up.target" ]; + wantedBy = [ "network-online.target" "ip-up.target" ]; + }; systemd.services."systemd-network-wait-online@" = { description = "Wait for Network Interface %I to be Configured";