bd112541e55f712a8fbbf6bb8be0d977ec6943b0
snappdf only ever shells out to `$SNAPPDF_CHROMIUM_PATH --headless --print-to-pdf=...`, so the full browser UI/GPU stack pkgs.chromium ships is unnecessary. Google's official "Chrome for Testing" headless-only build (packaged by nixpkgs' playwright-driver, selected via `browsers.override` with every other browser/ffmpeg disabled) does the same job for a ~1.45GB smaller closure (431MB vs 1.88GB), needs no allowUnfree, and PDF generation is noticeably faster in the VM test (~2.5s vs ~10s per request). Drops the now-unnecessary allowUnfree wiring from the interactive VM and automated test configs, which existed solely to build pkgs.chromium. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Description
Invoice Ninja NixOS derivation and module
391 KiB
Languages
Nix
85.7%
Shell
11.5%
Just
2.8%