From e52335e5f7fdd1a6687791a4e72f8eb1f4749447 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Tue, 4 Jun 2024 20:22:56 +0300 Subject: [PATCH] Disable networkmanager wait online --- lib/enabled.nix | 2 +- modules/tailscale.nix | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/enabled.nix b/lib/enabled.nix index f55fac8..7f2fe9b 100644 --- a/lib/enabled.nix +++ b/lib/enabled.nix @@ -7,5 +7,5 @@ lib: { }; }; - disabled = { enable = false; }; + disabled = { enable = lib.mkForce false; }; } diff --git a/modules/tailscale.nix b/modules/tailscale.nix index e412ed1..3c33e9f 100644 --- a/modules/tailscale.nix +++ b/modules/tailscale.nix @@ -15,5 +15,8 @@ in systemConfiguration { useRoutingFeatures = "both"; }; + # Breaks with tailscale. + systemd.services.NetworkManager-wait-online = disabled; + networking.firewall.trustedInterfaces = [ interface ]; }