import ../make-test-python.nix ({ lib, pkgs, ... }: { name = "peering-manager"; meta = with lib.maintainers; { maintainers = [ yuka ]; }; nodes.machine = { ... }: { services.peering-manager = { enable = true; secretKeyFile = pkgs.writeText "secret" '' abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 ''; }; }; testScript = { nodes }: '' machine.start() machine.wait_for_unit("peering-manager.target") machine.wait_until_succeeds("journalctl --since -1m --unit peering-manager --grep Listening") print(machine.succeed( "curl -sSfL http://[::1]:8001" )) with subtest("Home screen loads"): machine.succeed( "curl -sSfL http://[::1]:8001 | grep '