1import ./make-test-python.nix ({ lib, ... }:
2
3{
4 name = "fluidd";
5 meta.maintainers = with lib.maintainers; [ vtuan10 ];
6
7 nodes.machine = { pkgs, ... }: {
8 services.fluidd = {
9 enable = true;
10 };
11 };
12
13 testScript = ''
14 machine.start()
15 machine.wait_for_unit("nginx.service")
16 machine.wait_for_open_port(80)
17 machine.succeed("curl -sSfL http://localhost/ | grep 'fluidd'")
18 '';
19})