diff --git a/flake.nix b/flake.nix index a55b6e3..3d7a9bc 100644 --- a/flake.nix +++ b/flake.nix @@ -33,6 +33,7 @@ # Set Puppeteer to not download Chrome, cause it doesn't work on NixOS export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1 # Set Puppeteer to use Chromium from Nixpkgs + export PUPPETEER_EXECUTABLE_PATH=${pkgs.chromium.outPath}/bin/chromium ''; }; }); diff --git a/package.json b/package.json index 54de95d..b9b17fd 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,8 @@ { "type": "module", "devDependencies": { - "vitepress": "1.0.0-rc.4" + "vitepress": "1.0.0-rc.4", + "vitepress-export-pdf": "1.0.0-beta.0" }, "scripts": { "docs:dev": "vitepress dev docs",