about summary refs log tree commit diff
path: root/users/tazjin/nixos/modules/fonts.nix
# 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
    ];

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

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