about summary refs log blame commit diff
path: root/users/tazjin/nixos/modules/fonts.nix
blob: 1a979770c4801a5e2cd0cf4757829b8353401452 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   
                     


           
                           

                  
                  

                    

                                 
                                 











                                         
# Attempt at configuring reasonable font-rendering.

{ depot, pkgs, ... }:

{
  fonts = {
    packages = with pkgs; [
      corefonts
      dejavu_fonts
      font-awesome
      jetbrains-mono
      noto-fonts-cjk
      noto-fonts-color-emoji
      noto-fonts-monochrome-emoji
      depot.third_party.chicago95
    ];

    fontconfig = {
      hinting.enable = true;
      subpixel.lcdfilter = "light";

      defaultFonts = {
        monospace = [ "JetBrains Mono" ];
      };
    };
  };
}