tvl-depot/users/tazjin/nixos/modules/fonts.nix
Vincent Ambo 317962fbed fix(tazjin/nixos): add fonts for waybar configuration
These don't actually really work the way I want, but I have no idea how font
configuration works.

Change-Id: I228ab234f37d8ae0847cbdc6a3431fc29a2585e6
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12433
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
2024-09-05 22:10:09 +00:00

26 lines
451 B
Nix

# Attempt at configuring reasonable font-rendering.
{ 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" ];
};
};
};
}