Files
nixpkgs/nixos/tests/outline.nix
Wolfgang Walther e20c391ca5 teams/cyberus: drop
2026-01-16 08:43:37 +01:00

29 lines
511 B
Nix

{ lib, ... }:
{
name = "outline";
meta.maintainers = with lib.maintainers; [
e1mo
xanderio
];
node.pkgsReadOnly = false;
nodes.outline = {
virtualisation.memorySize = 2 * 1024;
services.outline = {
enable = true;
forceHttps = false;
storage = {
storageType = "local";
};
};
};
testScript = ''
outline.wait_for_unit("outline.service")
outline.wait_for_open_port(3000)
outline.succeed("curl --fail http://localhost:3000/")
'';
}