nixpkgs/nixos/tests/sonarr.nix
Wolfgang Walther c283f32d29
treewide: remove unused with
Auto-fixed by nixf-diagnose.
2025-10-05 10:50:41 +02:00

19 lines
316 B
Nix

{ lib, ... }:
{
name = "sonarr";
meta.maintainers = [ ];
nodes.machine =
{ pkgs, ... }:
{
services.sonarr.enable = true;
};
testScript = ''
machine.wait_for_unit("sonarr.service")
machine.wait_for_open_port(8989)
machine.succeed("curl --fail http://localhost:8989/")
'';
}