{ pkgs, lib, ... }: let nerdFont = pkgs.nerdfonts.override { fonts = [ "SourceCodePro" "Overpass" ]; }; in { fonts = { packages = [ nerdFont pkgs.noto-fonts-emoji ]; #localConf = builtins.readFile ./font.xml; fontconfig = { defaultFonts = { # FIXME: Add a serif font <2023-08-28> serif = []; sansSerif = lib.mkForce ["Overpass Nerd Font"]; monospace = lib.mkForce ["SauceCodePro Nerd Font Mono"]; emoji = lib.mkForce ["Noto Color Emoji"]; }; allowType1 = false; allowBitmaps = false; }; }; }