import ./make-test-python.nix ({ pkgs, lib, ... }: { name = "frp"; meta.maintainers = with lib.maintainers; [ zaldnoay ]; nodes = { frps = { networking = { useNetworkd = true; useDHCP = false; firewall.enable = false; }; systemd.network.networks."01-eth1" = { name = "eth1"; networkConfig.Address = "10.0.0.1/24"; }; services.frp = { enable = true; role = "server"; settings = { bindPort = 7000; vhostHTTPPort = 80; }; }; }; frpc = { networking = { useNetworkd = true; useDHCP = false; }; systemd.network.networks."01-eth1" = { name = "eth1"; networkConfig.Address = "10.0.0.2/24"; }; services.httpd = { enable = true; adminAddr = "admin@example.com"; virtualHosts."test-appication" = let testdir = pkgs.writeTextDir "web/index.php" "