mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
20 lines
381 B
Nix
20 lines
381 B
Nix
{ lib, pkgs, ... }:
|
|
{
|
|
name = "tuliprox";
|
|
meta.maintainers = with lib.maintainers; [ nyanloutre ];
|
|
|
|
nodes.machine =
|
|
{ pkgs, ... }:
|
|
{
|
|
services.tuliprox = {
|
|
enable = true;
|
|
};
|
|
};
|
|
|
|
testScript = ''
|
|
machine.wait_for_unit("multi-user.target")
|
|
machine.wait_for_open_port(8901)
|
|
machine.succeed("curl -v -s http://127.0.0.1:8901/")
|
|
'';
|
|
}
|