1import ./make-test-python.nix (
2 { lib, ... }:
3
4 {
5 name = "komga";
6 meta.maintainers = with lib.maintainers; [ govanify ];
7
8 nodes.machine =
9 { pkgs, ... }:
10 {
11 services.komga = {
12 enable = true;
13 settings.server.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 }
23)