Skip to content

Commit

Permalink
fix: Cleanup fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtz-j committed Oct 24, 2024
1 parent a8589b1 commit 32c9bde
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,21 @@
typstyle.enable = true;
};
};
packages.default = {
packages = {
default = inputs.typst-nix.lib.${system}.mkTypstDerivation {
name = "modern-uit-thesis";
src = ./.;
extraFonts = [
pkgs.noto-fonts
pkgs.open-sans
pkgs.jetbrains-mono
pkgs.texlivePackages.charter
];
extraFonts = pkgs.symlinkJoin {
name = "typst-fonts";
paths = with pkgs; [
noto-fonts
open-sans
jetbrains-mono
texlivePackages.charter
];
};
extraCompileFlags = [
"--root"
"--font-path ${pkgs.noto-fonts} ${pkgs.jetbrains-mono} ${pkgs.open-sans} ${pkgs.texlivePackages.charter}"
"./"
];
mainFile = "template/thesis.typ";
Expand Down

0 comments on commit 32c9bde

Please sign in to comment.