1{ pkgs, lib, ... }:
2{
3 name = "photonvision";
4
5 nodes = {
6 machine =
7 { pkgs, ... }:
8 {
9 services.photonvision = {
10 enable = true;
11 };
12 };
13 };
14
15 testScript = ''
16 start_all()
17 machine.wait_for_unit("photonvision.service")
18 machine.wait_for_open_port(5800)
19 '';
20
21 meta.maintainers = with lib.maintainers; [ max-niederman ];
22}