From 6655e5e6a9de229f55717f93c97bbaa281b374fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 5 Aug 2022 22:56:49 +0200 Subject: [PATCH] Don't block systemd-networkd-wait-online on core interface being stuck in configuring --- nix/nixos-module/container/upstream/pppoe.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nix/nixos-module/container/upstream/pppoe.nix b/nix/nixos-module/container/upstream/pppoe.nix index b3af6e4..f304679 100644 --- a/nix/nixos-module/container/upstream/pppoe.nix +++ b/nix/nixos-module/container/upstream/pppoe.nix @@ -64,6 +64,11 @@ in lib.mkIf (pppoeInterfaces != {}) { in networks // { "${ifName}" = { matchConfig.Name = "${ifName}"; + linkConfig = lib.optionalAttrs (ifName == "core") { + # interface is stuck in "routable (configuring)" and blocks systemd-networkd-wait-online + # TODO: figure out why exactly + RequiredForOnline = false; + }; networkConfig = { DHCP = lib.mkForce "ipv6"; # accept config set by pppd