about summary refs log blame commit diff
path: root/users/tazjin/nixos/modules/fonts.nix
blob: 3b4461056f2409314762f4c6419b24b23674b940 (plain) (tree)























                                                   
# Attempt at configuring reasonable font-rendering.

{ pkgs, ... }:

{
  fonts = {
    fonts = with pkgs; [
      corefonts
      dejavu_fonts
      jetbrains-mono
      noto-fonts-cjk
      noto-fonts-emoji
    ];

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

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