{ config, pkgs, ... }:

{
  # Fonts
  fonts.packages = with pkgs; [  
    corefonts  
    vistafonts  
    noto-fonts  

    # cjk fonts
    noto-fonts-cjk-sans
    noto-fonts-cjk-serif  
    noto-fonts-emoji  
    vistafonts-cht
    source-han-serif
    source-han-sans-vf-otf
    source-han-sans-vf-ttf
    source-han-mono

    # coding/terminal fonts
    liberation_ttf  
    fira-code  
    fira-code-symbols  
    mplus-outline-fonts.githubRelease  
    dina-font  
    proggyfonts
    iosevka
#    nerdfonts need to fix
/*
     error: nerdfonts has been separated into individual font packages under the namespace nerd-fonts.
       For example change:
         fonts.packages = [
           ...
           (pkgs.nerdfonts.override { fonts = [ "0xproto" "DroidSansMono" ]; })
         ]
       to
         fonts.packages = [
           ...
           pkgs.nerd-fonts._0xproto
           pkgs.nerd-fonts.droid-sans-mono
         ]
       or for all fonts
         fonts.packages = [ ... ] ++ builtins.filter lib.attrsets.isDerivation (builtins.attrValues pkgs.nerd-fonts)
*/


  ];

  fonts.fontDir.enable = true;
}
