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