From d8ee571420fb7f2349fd2b7a68efcb742f998955 Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Mon, 30 Mar 2026 20:30:48 -0500 Subject: [PATCH] continued fix lndconnect to PDF --- modules/credentials-pdf.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/credentials-pdf.nix b/modules/credentials-pdf.nix index 2a4ef74..306639e 100644 --- a/modules/credentials-pdf.nix +++ b/modules/credentials-pdf.nix @@ -238,9 +238,9 @@ BITCOIN echo "*(You make up your own Admin Password the first time you visit!)*" >> "$FILE" fi - # ── Generate PDF ── - pandoc "$FILE" -o "$OUTPUT" --pdf-engine=typst \ - --resource-path="$WORK_DIR" \ + # ── Generate PDF (cd into work dir so Typst finds images) ── + cd "$WORK_DIR" + pandoc magic_keys.md -o "$OUTPUT" --pdf-engine=typst \ -V mainfont="Liberation Sans" \ -V monofont="Liberation Mono"