From 6aa9be6f70ba4d4b0d9bd32866bda24c89b82bb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Wed, 13 Apr 2022 09:01:16 +0200 Subject: [PATCH] feat: more fonts --- configs/fonts.nix | 47 +++++++++++++++++++++++++++++------------------ 1 file changed, 29 insertions(+), 18 deletions(-) diff --git a/configs/fonts.nix b/configs/fonts.nix index dd999a3..025921a 100644 --- a/configs/fonts.nix +++ b/configs/fonts.nix @@ -1,42 +1,53 @@ {pkgs, ...}: { nixpkgs.config.joypixels.acceptLicense = true; - fonts = { enableDefaultFonts = true; fontDir.enable = true; fonts = with pkgs; [ alegreya alegreya-sans + amiri + cantarell-fonts + charis-sil corefonts + crimson eb-garamond + etBook fira font-awesome-ttf + gentium + gfs-fonts + gyre-fonts + ia-writer-duospace ibm-plex - inconsolata - iosevka - libertine + jetbrains-mono + joypixels + libertinus + libre-bodoni lmodern + merriweather noto-fonts - noto-fonts-cjk - noto-fonts-emoji + ocr-a roboto roboto-mono roboto-slab + scheherazade-new source-code-pro - source-serif-pro source-sans-pro - ubuntu_font_family - gfs-fonts - jetbrains-mono - twemoji-color-font - joypixels + source-serif-pro + theano tocharian-font - ]; - fontconfig.defaultFonts = { - monospace = ["JetBrains Mono" "JoyPixels"]; - serif = ["Roboto Slab"]; - sansSerif = ["Roboto" "Noto Sans"]; - emoji = ["JoyPixels"]; + vistafonts + vollkorn + zilla-slab + ]; # google-fonts league-of-moveable-type + fontconfig.defaultFonts = let + emojiFont = "JoyPixels"; + in { + monospace = ["JetBrains Mono" emojiFont]; + serif = ["Merriweather"]; + sansSerif = ["Cantarell" emojiFont]; + emoji = [emojiFont]; }; }; }