summaryrefslogtreecommitdiffstats
path: root/nixos/tests/photonvision.nix
blob: 6ad5ec8915ea38103bdb50169e743390a82ac569 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ pkgs, lib, ... }:
{
  name = "photonvision";

  nodes = {
    machine =
      { pkgs, ... }:
      {
        services.photonvision = {
          enable = true;
        };
      };
  };

  testScript = ''
    start_all()
    machine.wait_for_unit("photonvision.service")
    machine.wait_for_open_port(5800)
  '';

  meta.maintainers = with lib.maintainers; [ max-niederman ];
}