From 65880ecb5867da032674edf220c13ffd89b20861 Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Fri, 6 Mar 2026 10:37:09 +0000 Subject: [PATCH] nix: disable external DERP URL fetch in VM test Explicitly set derp.urls to an empty list in the NixOS VM test, matching the upstream nixpkgs test. The VMs have no internet access, so fetching the default Tailscale DERP map would silently fail and add unnecessary timeout delay to the test run. --- nix/tests/headscale.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/nix/tests/headscale.nix b/nix/tests/headscale.nix index 7dc93870..819626b7 100644 --- a/nix/tests/headscale.nix +++ b/nix/tests/headscale.nix @@ -38,10 +38,13 @@ in settings = { server_url = "https://headscale"; ip_prefixes = [ "100.64.0.0/10" ]; - derp.server = { - enabled = true; - region_id = 999; - stun_listen_addr = "0.0.0.0:${toString stunPort}"; + derp = { + server = { + enabled = true; + region_id = 999; + stun_listen_addr = "0.0.0.0:${toString stunPort}"; + }; + urls = [ ]; }; dns = { base_domain = "tailnet";