From c68b04978294ea5f78c884aa5de3a322eb02618b Mon Sep 17 00:00:00 2001 From: "Casper V. Kristensen" Date: Wed, 13 Dec 2023 20:25:40 +0100 Subject: [PATCH] Revert "23.11: remove workaround for network-online.target" This reverts commit 6a24fbfacf4a7dbc6666f59e2804e537442e2ea5. --- modules/desktop/network.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/desktop/network.nix b/modules/desktop/network.nix index bd7b79e..d2dec74 100644 --- a/modules/desktop/network.nix +++ b/modules/desktop/network.nix @@ -17,4 +17,12 @@ { directory = "/etc/NetworkManager/system-connections"; user = "root"; group = "root"; mode = "0700"; } ]; }; + + # systemd-networkd-wait-online can timeout and fail if there are no network + # interfaces available for it to manage. When systemd-networkd is enabled but + # a different service is responsible for managing the system's internet + # connection (for example, NetworkManager), this service is unnecessary and + # can be disabled. + # https://search.nixos.org/options?channel=23.11&show=systemd.network.wait-online.enable + systemd.network.wait-online.enable = false; }