blob: 7f14509a6ba6283d05b4231995f9dec3c3d243ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{ lib, ... }:
{
name = "porxie";
nodes.machine =
{ pkgs, ... }:
{
services.porxie = {
enable = true;
settings = {
PORXIE_SERVER_ADDRESS = "ip:127.0.0.1:6453";
};
};
};
testScript = ''
machine.wait_for_unit("porxie.service")
machine.wait_for_open_port(6453)
machine.succeed("curl --fail http://localhost:6453")
'';
meta.maintainers = [ lib.maintainers.blooym ];
}
|