My Nix Configuration
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

[flake] update font config for reasons

dish a5297f2f 7ae21af6

+66 -5
+39
homeModules/theming/default.nix
··· 42 42 name = "Colloid-Dark"; 43 43 }; 44 44 }; 45 + fonts.fontconfig = mkIf pro.gui.enable { 46 + enable = true; 47 + antialiasing = true; 48 + hinting = "slight"; 49 + defaultFonts = { 50 + serif = [ 51 + "IBM Plex Serif" 52 + "Twitter Color Emoji" 53 + ]; 54 + sansSerif = [ 55 + "Inter" 56 + "Twitter Color Emoji" 57 + ]; 58 + monospace = [ 59 + "IBM Plex Mono" 60 + "BlexMono Nerd Font Mono" 61 + "Twitter Color Emoji" 62 + ]; 63 + emoji = [ "Twitter Color Emoji" ]; 64 + }; 65 + configFile = { 66 + noto-color-replacement = { 67 + enable = true; 68 + priority = 53; 69 + text = '' 70 + <?xml version="1.0"?> 71 + <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> 72 + <fontconfig> 73 + <alias> 74 + <family>Noto Color Emoji</family> 75 + <default> 76 + <family>Twitter Color Emoji</family> 77 + </default> 78 + </alias> 79 + </fontconfig> 80 + ''; 81 + }; 82 + }; 83 + }; 45 84 }
+27 -5
hosts/zaphod/fonts.nix
··· 1 1 { pkgs, lib, ... }: 2 2 { 3 3 fonts = { 4 + enableDefaultPackages = false; 4 5 fontDir.enable = true; 5 6 fontconfig = { 6 7 enable = lib.mkForce true; 8 + useEmbeddedBitmaps = true; 7 9 defaultFonts = { 8 - serif = [ "IBM Plex Serif" ]; 9 - sansSerif = [ "IBM Plex Sans" ]; 10 + serif = [ 11 + "IBM Plex Serif" 12 + "Twitter Color Emoji" 13 + ]; 14 + sansSerif = [ 15 + "Inter" 16 + "Twitter Color Emoji" 17 + ]; 10 18 monospace = [ 11 19 "IBM Plex Mono" 12 - "FiraCode Nerd Font Mono" 20 + "BlexMono Nerd Font Mono" 21 + "Twitter Color Emoji" 13 22 ]; 14 - emoji = [ "JoyPixels" ]; 23 + emoji = [ "Twitter Color Emoji" ]; 15 24 }; 25 + localConf = '' 26 + <?xml version="1.0"?> 27 + <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> 28 + <fontconfig> 29 + <alias> 30 + <family>Noto Color Emoji</family> 31 + <default> 32 + <family>Twitter Color Emoji</family> 33 + </default> 34 + </alias> 35 + </fontconfig> 36 + ''; 16 37 }; 17 38 packages = with pkgs; [ 18 39 ibm-plex 19 40 nerd-fonts.blex-mono 20 - nerd-fonts.symbols-only 21 41 inter 42 + twitter-color-emoji 43 + unifont 22 44 ]; 23 45 }; 24 46 }