From dbbc05fc9be683fc90956eb4e80b244141c1f7c3 Mon Sep 17 00:00:00 2001 From: ChUrl Date: Fri, 11 Aug 2023 12:15:08 +0200 Subject: [PATCH] Disable link routable requirement --- lib/networking.nix | 3 ++- system/modules/systemd-networkd/default.nix | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/networking.nix b/lib/networking.nix index f80b6e5f..3592c211 100644 --- a/lib/networking.nix +++ b/lib/networking.nix @@ -29,7 +29,8 @@ linkConfig = { # This corresponds to the [LINK] section - RequiredForOnline = "routable"; + # RequiredForOnline = "routable"; + RequiredForOnline = "no"; # Don't make nixos-rebuild wait for systemd-networkd-wait-online.service }; }; diff --git a/system/modules/systemd-networkd/default.nix b/system/modules/systemd-networkd/default.nix index 5e1086c2..e0c0d73d 100644 --- a/system/modules/systemd-networkd/default.nix +++ b/system/modules/systemd-networkd/default.nix @@ -69,6 +69,7 @@ in { useNetworkd = false; # Only use this if the configuration can't be written in systemd.network completely. It translates some of the networking... options to systemd # resolvconf.enable = true; + # TODO wireless = { enable = false; # Enables wireless support via wpa_supplicant. iwd.enable = false; # Use iwd instead of NetworkManager