diff options
author | William A. Kennington III <william@wkennington.com> | 2014-11-24 11:51:43 -0800 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2014-11-26 11:22:02 -0800 |
commit | 0626c1ecf054d61c4fd75dfb85997b814dca6259 (patch) | |
tree | c50e48c551331e0a596a9daa096759c28e649cf6 /nixos | |
parent | c234e7b115ec00243982378eae27ee926923bd8e (diff) | |
download | nixlib-0626c1ecf054d61c4fd75dfb85997b814dca6259.tar nixlib-0626c1ecf054d61c4fd75dfb85997b814dca6259.tar.gz nixlib-0626c1ecf054d61c4fd75dfb85997b814dca6259.tar.bz2 nixlib-0626c1ecf054d61c4fd75dfb85997b814dca6259.tar.lz nixlib-0626c1ecf054d61c4fd75dfb85997b814dca6259.tar.xz nixlib-0626c1ecf054d61c4fd75dfb85997b814dca6259.tar.zst nixlib-0626c1ecf054d61c4fd75dfb85997b814dca6259.zip |
nixos/systemd: ip-up and network-online targets should come after networkd-wait-online
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/system/boot/systemd.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix index f34c16b9ac04..290b25383321 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"; |