mirror of
https://github.com/juanfont/headscale.git
synced 2026-03-12 13:15:14 +09:00
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.
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user