4 meta = with lib.maintainers; { maintainers = [ jk ]; };
7 geminiserver = { pkgs, ... }: {
10 hostnames = [ "localhost" ];
11 contentDir = pkgs.writeTextDir "index.gmi" ''
18 testScript = { nodes, ... }: ''
19 geminiserver.wait_for_unit("agate")
20 geminiserver.wait_for_open_port(1965)
22 with subtest("check is serving over gemini"):
23 response = geminiserver.succeed("${pkgs.gmni}/bin/gmni -j once -i -N gemini://localhost:1965")
25 assert "Hello NixOS!" in response