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