From d934c713a471385a835b718b2e47b52c335a84de 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