1import ./make-test-python.nix ({ lib, ... }:
2
3with lib;
4
5{
6 name = "komga";
7 meta.maintainers = with maintainers; [ govanify ];
8
9 nodes.machine =
10 { pkgs, ... }:
11 { services.komga = {
12 enable = true;
13 port = 1234;
14 };
15 };
16
17 testScript = ''
18 machine.wait_for_unit("komga.service")
19 machine.wait_for_open_port(1234)
20 machine.succeed("curl --fail http://localhost:1234/")
21 '';
22})