wireguard: don't require wg0 to be up for network-wait-online to complete
Pierre Bourdon committed
Jan 25, 2024 at 16:04 UTC
7c0fc62690cb22dca16cd931057ea53be217b8d2
1 file changed
+4
modules/wireguard.nix
+4
@@ -27,5 +27,9 @@ in lib.mkMerge [
27
})
28
) (peerable config.networking.hostName);
29
};
30
+
31
+ # networkd-wait-online sometimes fails to notice that the interface is up,
32
+ # since it's not managing it.
33
+ systemd.network.wait-online.ignoredInterfaces = [ "wg0" ];
34
}
35
]