nixpkgs/nixos/tests/web-apps/phylactery.nix
Wolfgang Walther 6c1e6f90d3
treewide: remove unused rec
Auto-fix by nixf-diagnose.

(cherry picked from commit 90e7159c55)
2025-10-05 12:38:23 +02:00

26 lines
506 B
Nix

import ../make-test-python.nix (
{ 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 ];
}
)