1{ lib, ... }:
2let
3 mainPort = "4200";
4in
5{
6 name = "prefect";
7
8 nodes = {
9 machine =
10 { ... }:
11 {
12 services.prefect = {
13 enable = true;
14 };
15 };
16 };
17
18 testScript = ''
19 machine.start()
20 machine.wait_for_unit("prefect-server.service")
21 machine.wait_for_open_port("${mainPort}")
22 '';
23
24 meta = with lib.maintainers; {
25 maintainers = [ happysalada ];
26 };
27}