tvl-depot/users/tazjin/nixos/modules/fonts.nix
Vincent Ambo 485fb81edf fix(tazjin/nixos): fix font name collision
Change-Id: I8780f5906855d2ce39ec78530ede84bbcfb5fbf2
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12469
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
2024-09-13 09:23:36 +00:00

26 lines
458 B
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" ];
};
};
};
}