nixpkgs/nixos/tests/whisparr.nix

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

18 lines
346 B
Nix
Raw Permalink Normal View History

{ lib, ... }:
{
name = "whisparr";
meta.maintainers = [ lib.maintainers.paveloom ];
2024-05-25 22:32:17 +03:00
nodes.machine =
{ pkgs, ... }:
{
services.whisparr.enable = true;
};
2024-05-25 22:32:17 +03:00
testScript = ''
machine.wait_for_unit("whisparr.service")
machine.wait_for_open_port(6969)
machine.succeed("curl --fail http://localhost:6969/")
'';
}