{ system ? builtins.currentSystem, config ? {}, pkgs ? import ../.. { inherit system config; } }: with import ../lib/testing-python.nix { inherit system pkgs; }; let hosts = '' 192.168.2.101 acme.test ''; in builtins.listToAttrs ( builtins.map (nginxPackage: { name = pkgs.lib.getName nginxPackage; value = makeTest { name = "nginx-http3-${pkgs.lib.getName nginxPackage}"; meta.maintainers = with pkgs.lib.maintainers; [ izorkin ]; nodes = { server = { lib, pkgs, ... }: { networking = { interfaces.eth1 = { ipv4.addresses = [ { address = "192.168.2.101"; prefixLength = 24; } ]; }; extraHosts = hosts; firewall.allowedTCPPorts = [ 443 ]; firewall.allowedUDPPorts = [ 443 ]; }; security.pki.certificates = [ (builtins.readFile ./common/acme/server/ca.cert.pem) ]; services.nginx = { enable = true; package = nginxPackage; virtualHosts."acme.test" = { onlySSL = true; sslCertificate = ./common/acme/server/acme.test.cert.pem; sslCertificateKey = ./common/acme/server/acme.test.key.pem; http2 = true; http3 = true; http3_hq = false; quic = true; reuseport = true; root = lib.mkForce (pkgs.runCommandLocal "testdir" {} '' mkdir "$out" cat > "$out/index.html" <Hello World! EOF cat > "$out/example.txt" <