I’ve got a web server in rust that invokes the ‘typst’ executable to generate a pdf. Works in test, but when I run it as a nixos module typst is not found.
I’ve tried everything I can think of including putting typst into environment.systemPackages. My service runs as a systemuser normally, but I can make it isNormalUser and su into the account and run typst. But the web server still can’t kick off a typst process.
Is there something I’m missing about using package dependencies with a module?