From b0133d2389c445cf071bfab12c78d2e0d5a854e6 Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Wed, 4 Jan 2023 20:10:23 +0100 Subject: [PATCH] fix wait-network --- hosts/dishwasher/configuration.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/hosts/dishwasher/configuration.nix b/hosts/dishwasher/configuration.nix index 5b4a138..ea0f151 100644 --- a/hosts/dishwasher/configuration.nix +++ b/hosts/dishwasher/configuration.nix @@ -26,10 +26,15 @@ time.timeZone = "Europe/Amsterdam"; + # fix wait-online target + systemd.services.systemd-networkd-wait-online.serviceConfig.ExecStart = [ + "" # clear old command + "${config.systemd.package}/lib/systemd/systemd-networkd-wait-online --any" + ]; + systemd.network = { enable = true; - wait-online.ignoredInterfaces = [ "wlp2s0" ]; networks."ether" = { matchConfig = {