1{ lib, ... }:
2
3{
4 name = "kanboard";
5 meta.maintainers = with lib.maintainers; [ yzx9 ];
6
7 nodes = {
8 machine = {
9 services.kanboard = {
10 enable = true;
11 };
12 };
13 };
14
15 testScript = ''
16 start_all()
17 machine.wait_for_unit("nginx.service")
18 machine.wait_for_unit("phpfpm-kanboard.service")
19 machine.wait_for_open_port(80)
20
21 machine.succeed("curl -k --fail http://localhost", timeout=10)
22 '';
23}