diff --git a/magpie/configuration.nix b/magpie/configuration.nix index 0be5475..bdecd16 100644 --- a/magpie/configuration.nix +++ b/magpie/configuration.nix @@ -245,6 +245,13 @@ RENDER_COMMAND = "${docutils}/bin/rst2html.py"; IS_INPUT_FILE = false; }; + + settings."markup.typst" = { + ENABLED = true; + FILE_EXTENSIONS = ".typ"; + RENDER_COMMAND = "timeout 30s ${lib.getExe pkgs.python3Packages.pygments} -f html -O full"; + IS_INPUT_FILE = false; + }; }; services.nfs.server.enable = false;