Add puppeteer to convert to pdf
Some checks failed
Build / Build_And_Publish (push) Failing after 33s

This commit is contained in:
2025-12-08 22:08:17 -06:00
parent 8230ce9319
commit 82205954cc
7 changed files with 1247 additions and 11 deletions

47
flake.nix Normal file
View File

@@ -0,0 +1,47 @@
{
description = "Resume builder dev environment";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs =
{
self,
nixpkgs,
flake-utils,
}:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
nodejs
chromium
jq
curl
just
];
shellHook = ''
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1
export PUPPETEER_EXECUTABLE_PATH=${pkgs.chromium}/bin/chromium
echo ""
echo "🚀 Resume Build Environment"
echo ""
echo "Node version: $( node -v)"
echo ""
echo "Quick commands:"
echo " just build # Build my resume"
echo ""
'';
};
}
);
}