nixosTests.tuliprox: init

This commit is contained in:
nyanloutre
2025-11-14 14:57:47 +00:00
parent daaced0390
commit 70fa43415a
2 changed files with 20 additions and 0 deletions
+1
View File
@@ -1568,6 +1568,7 @@ in
trilium-server = runTestOn [ "x86_64-linux" ] ./trilium-server.nix;
tsm-client-gui = runTest ./tsm-client-gui.nix;
ttyd = runTest ./web-servers/ttyd.nix;
tuliprox = runTest ./tuliprox.nix;
tuned = runTest ./tuned.nix;
tuptime = runTest ./tuptime.nix;
turbovnc-headless-server = runTest ./turbovnc-headless-server.nix;
+19
View File
@@ -0,0 +1,19 @@
{ 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 -vvv -s http://127.0.0.1:8901/")
'';
}