1 import ./make-test-python.nix ({ lib, pkgs, ... }: {
5 maintainers = with lib.maintainers; [ ocfox ];
8 nodes.machine = { pkgs, ... }: {
13 # realm need DNS resolv server to run or use config.dns.nameserver
14 services.resolved.enable = true;
21 listen = "0.0.0.0:1000";
22 remote = "127.0.0.1:80";
30 machine.wait_for_unit("nginx.service")
31 machine.wait_for_unit("realm.service")
33 machine.wait_for_open_port(80)
34 machine.wait_for_open_port(1000)
36 machine.succeed("curl --fail http://localhost:1000/")