From 74dcb8fed0080f9848b18cbce77449b3ac1f3c0f Mon Sep 17 00:00:00 2001 From: Mohammad Rafiq Date: Mon, 14 Jul 2025 13:53:49 +0800 Subject: [PATCH] feat(tailscale): Enable tailscale on darwin and skip some tests --- nix/modules/networking/tailscale.nix | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/nix/modules/networking/tailscale.nix b/nix/modules/networking/tailscale.nix index 8f2a000..e50534c 100644 --- a/nix/modules/networking/tailscale.nix +++ b/nix/modules/networking/tailscale.nix @@ -14,7 +14,17 @@ in persistDirs = [ "/var/lib/tailscale" ]; sops.secrets."tailscale/client-secret".sopsFile = secrets + "/tailscale.yaml"; }; - flake.modules.darwin.default = { - services.tailscale.enable = true; - }; + flake.modules.darwin.default = + { pkgs, ... }: + { + services.tailscale = { + enable = true; + package = pkgs.tailscale.overrideAttrs { + checkFlags = [ + "-skip" + "TestProtocolQEMU|TestProtocolUnixDgram" + ]; + }; + }; + }; }