Skip to content

Commit

Permalink
cv: update font
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Dec 27, 2024
1 parent 3f47a31 commit e3e7d41
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,17 @@
# Change here to typst-dev if needed
typst = pkgs.nixpkgs-unstable.typst;

robotoCondensed = pkgs.roboto.overrideAttrs (finalAttrs: {
postInstall = finalAttrs.postInstall or "" + ''
rm -rf $out/share/fonts/truetype/Roboto-*
'';
});

fontsConf = pkgs.symlinkJoin {
name = "typst-fonts";
paths = with pkgs; [
font-awesome
roboto
robotoCondensed
newcomputermodern
];
};
Expand Down
2 changes: 1 addition & 1 deletion src/cv/cv-theme.typ
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
set text(
font: body-font,
size: font.normal,
style: "normal",
weight: 400,
lang: "en",
hyphenate: true,
)
Expand Down

0 comments on commit e3e7d41

Please sign in to comment.