even better ui fonts

This commit is contained in:
Christoph Cullmann 2024-08-04 22:51:42 +02:00
parent 9ec5118dd7
commit 17570a6e71
No known key found for this signature in database

View file

@ -416,17 +416,42 @@ in
enableDefaultPackages = false; enableDefaultPackages = false;
# ensure we have an emulated global fontdir # ensure we have an emulated global fontdir
fontDir.enable = true; fontDir = {
enable = true;
decompressFonts = true;
};
# Nerd Fonts for the win # fonts I use
packages = [ pkgs.nerdfonts ]; packages = with pkgs; [
# good serif ui font
alegreya
# good sans-serif ui font
inter
# good monospace coding and terminal font
jetbrains-mono
# unicode capable fonts for fallbacks
babelstone-han
dejavu_fonts
ipafont
kochi-substitute
noto-fonts
noto-fonts-cjk
noto-fonts-cjk-sans
noto-fonts-cjk-serif
noto-fonts-extra
noto-fonts-emoji
];
# tune fontconfig # tune fontconfig
fontconfig = { fontconfig = {
# better default fonts enable = true;
defaultFonts = { defaultFonts = {
monospace = ["M+1Code Nerd Font Mono"]; monospace = [ "JetBrains Mono" ];
sansSerif = ["M+1 Nerd Font"]; sansSerif = [ "Inter" ];
serif = [ "Alegreya" ];
}; };
}; };
}; };