{ pkgs, ... }: { fonts = { fontconfig = { enable = true; defaultFonts = { sansSerif = [ "Inter" ]; # Not really compatible with inter but i'm used to it monospace = [ "Fira Code" ]; serif = [ "DejaVu Serif" ]; emoji = [ "Noto Color Emoji" "Noto Emoji" ]; }; localConf = '' ui-monospace monospace system-ui sans-serif BlinkMacSystemFont sans-serif -apple-system sans-serif Inter tnum on ss01 on ss02 on Fira Code cv06 on ss02 on ss04 on ''; }; enableDefaultPackages = true; packages = with pkgs; [ corefonts dejavu_fonts libertine ocr-a source-code-pro source-sans-pro source-serif-pro # Code fonts fira-code iosevka # UI fonts b612 cantarell-fonts inter roboto # Large multilingual fonts fira-go noto-fonts noto-fonts-cjk-sans noto-fonts-emoji noto-fonts-extra # Constructed languages nasin-nanpa # Weird symbols (nerdfonts.override { fonts = [ "NerdFontsSymbolsOnly" ]; }) ] ++ (builtins.attrValues pkgs.extraFonts); }; }