How to install tesseract OCR engine

You could put the pkgs.tesseract pkg in your nix config if you know how. Here are the config docs