nixpkgs/nixos/tests/photonvision.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
380 B
Nix
Raw Permalink Normal View History

{ pkgs, lib, ... }:
{
name = "photonvision";
2024-02-05 23:51:17 -08:00
nodes = {
machine =
{ pkgs, ... }:
{
services.photonvision = {
enable = true;
};
};
};
2024-02-05 23:51:17 -08:00
testScript = ''
start_all()
machine.wait_for_unit("photonvision.service")
machine.wait_for_open_port(5800)
'';
2024-02-05 23:51:17 -08:00
meta.maintainers = with lib.maintainers; [ max-niederman ];
}