From 80b10c6d95e1cf305e47ea3e47f997ade1be762d Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Sun, 29 Mar 2026 21:00:58 -0500 Subject: [PATCH] updated pdf with font --- modules/credentials-pdf.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/credentials-pdf.nix b/modules/credentials-pdf.nix index d3ed5d5..2877b7c 100644 --- a/modules/credentials-pdf.nix +++ b/modules/credentials-pdf.nix @@ -61,7 +61,11 @@ Type = "oneshot"; }; - path = [ pkgs.pandoc pkgs.typst pkgs.coreutils ]; + path = [ pkgs.pandoc pkgs.typst pkgs.coreutils pkgs.liberation_ttf ]; + + environment = { + TYPST_FONT_PATHS = "${pkgs.liberation_ttf}/share/fonts"; + }; script = '' set -euo pipefail