1{ lib, ... }:
2{
3 name = "whisparr";
4 meta.maintainers = [ ];
5
6 nodes.machine =
7 { pkgs, ... }:
8 {
9 services.whisparr.enable = true;
10 };
11
12 testScript = ''
13 machine.wait_for_unit("whisparr.service")
14 machine.wait_for_open_port(6969)
15 machine.succeed("curl --fail http://localhost:6969/")
16 '';
17}