diff --git a/profiles/reciproka-forgejo.nix b/profiles/reciproka-forgejo.nix index 40c0be1..47a805b 100644 --- a/profiles/reciproka-forgejo.nix +++ b/profiles/reciproka-forgejo.nix @@ -19,11 +19,6 @@ in { httpPort = 3002; # Provided unique port rootUrl = "https://reciproka.dev/"; # Root web URL settings = let - docutils = pkgs.python39.withPackages (ps: - with ps; [ - docutils # Provides rendering of ReStructured Text files - pygments # Provides syntax highlighting - ]); server = { DOMAIN = "reciproka.dev"; # Domain name HTTP_PORT = 3002; # Provided unique port @@ -44,7 +39,7 @@ in { "markup.restructuredtext" = { ENABLED = true; FILE_EXTENSIONS = ".rst"; - RENDER_COMMAND = "${docutils}/bin/rst2html.py"; + RENDER_COMMAND = "timeout 30s ${pkgs.pandoc}/bin/pandoc +RTS -M512M -RTS -f rst"; IS_INPUT_FILE = false; }; ui = {