Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
431 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{ pkgs, lib, ... }:
{
name = "phylactery";
nodes.machine =
{ ... }:
{
services.phylactery = {
enable = true;
port = 8080;
library = "/tmp";
};
};
testScript = ''
start_all()
machine.wait_for_unit('phylactery')
machine.wait_for_open_port(8080)
machine.wait_until_succeeds('curl localhost:8080')
'';
meta.maintainers = with lib.maintainers; [ McSinyx ];
}