From 5751f40dc110ad63c583cbeb8732e0b441eb814b Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Wed, 18 Oct 2023 19:03:39 +0800 Subject: [PATCH] packages,fonts: add symbols nerd font --- nixos/packages/graphical/fonts.nix | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/nixos/packages/graphical/fonts.nix b/nixos/packages/graphical/fonts.nix index f1b1607..e00728a 100755 --- a/nixos/packages/graphical/fonts.nix +++ b/nixos/packages/graphical/fonts.nix @@ -5,20 +5,35 @@ fonts = { fontDir.enable = true; packages = with pkgs; [ - inter + ### Noto Fonts noto-fonts noto-fonts-cjk-sans noto-fonts-cjk-serif noto-fonts-emoji + + ### Source Han source-han-sans source-han-serif source-han-mono + + ### CJK #wqy_zenhei # weird font shape, noto sans cjk is a better alternative #wqy_microhei + + ### Sans + inter roboto + + ### Monospace fira-code jetbrains-mono - (nerdfonts.override { fonts = [ "FiraCode" "JetBrainsMono" ]; }) + (nerdfonts.override { + fonts = [ + "FiraCode" + "JetBrainsMono" + "NerdFontsSymbolsOnly" + ]; + }) ]; fontconfig = { cache32Bit = true;