From 22b6712c240fea0643cfc01acfce1fda1f125b8a Mon Sep 17 00:00:00 2001 From: Grace Yoder Date: Thu, 3 Sep 2026 15:36:32 -0400 Subject: nix init --- home/typst.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 home/typst.nix (limited to 'home/typst.nix') diff --git a/home/typst.nix b/home/typst.nix new file mode 100644 index 0000000..761bdf9 --- /dev/null +++ b/home/typst.nix @@ -0,0 +1,20 @@ +{ config, pkgs, ... }: + +let + dots = toString ./..; +in +{ + fonts.fontconfig.enable = true; + + home.packages = with pkgs; [ + montserrat + fira-math + corefonts + ]; + + home.sessionVariables.TYPST_FONT_PATHS = + "${config.home.profileDirectory}/share/fonts"; + + home.file."Library/Application Support/typst/packages/local/grace-personal-template/0.1.0".source = + config.lib.file.mkOutOfStoreSymlink "${dots}/typst"; +} -- cgit v1.3.1