2025-05-24 23:40:23 +08:00
|
|
|
{ lib, ... }:
|
|
|
|
|
{
|
|
|
|
|
name = "whisparr";
|
2025-07-13 12:16:47 +03:00
|
|
|
meta.maintainers = [ ];
|
2024-05-25 22:32:17 +03:00
|
|
|
|
2025-05-24 23:40:23 +08:00
|
|
|
nodes.machine =
|
|
|
|
|
{ pkgs, ... }:
|
|
|
|
|
{
|
|
|
|
|
services.whisparr.enable = true;
|
|
|
|
|
};
|
2024-05-25 22:32:17 +03:00
|
|
|
|
2025-05-24 23:40:23 +08:00
|
|
|
testScript = ''
|
|
|
|
|
machine.wait_for_unit("whisparr.service")
|
|
|
|
|
machine.wait_for_open_port(6969)
|
|
|
|
|
machine.succeed("curl --fail http://localhost:6969/")
|
|
|
|
|
'';
|
|
|
|
|
}
|