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