summaryrefslogtreecommitdiffstats
path: root/nixos/tests/whisparr.nix
blob: 2d6d1bd9fb161df8ec636b7c25c30227af4633e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ lib, ... }:
{
  name = "whisparr";
  meta.maintainers = [ ];

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

  testScript = ''
    machine.wait_for_unit("whisparr.service")
    machine.wait_for_open_port(6969)
    machine.succeed("curl --fail http://localhost:6969/")
  '';
}