summaryrefslogtreecommitdiff
path: root/home/typst.nix
diff options
context:
space:
mode:
authorGrace Yoder <grace_yoder@outlook.com>2026-09-03 15:36:32 -0400
committerGrace Yoder <grace_yoder@outlook.com>2026-09-03 15:37:10 -0400
commit22b6712c240fea0643cfc01acfce1fda1f125b8a (patch)
treefb8ac2302793c76d3640aab7d3f74f7a57c01933 /home/typst.nix
nix init
Diffstat (limited to 'home/typst.nix')
-rw-r--r--home/typst.nix20
1 files changed, 20 insertions, 0 deletions
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";
+}