update system font configs

This commit is contained in:
Kim, Jimin 2024-12-28 11:25:41 +09:00
parent b95a570571
commit 3a4539935e
Signed by: pomp
GPG key ID: D3932F82A0667A3B
2 changed files with 18 additions and 1 deletions

View file

@ -7,6 +7,7 @@
"dconf",
"devenv",
"dotfiles",
"fontconfig",
"gamemode",
"geneviève",
"ghostty",
@ -16,12 +17,14 @@
"justfile",
"killall",
"lunarclient",
"Meslo",
"monero",
"nixd",
"nixfmt",
"nixos",
"nixpkgs",
"nordified",
"Noto",
"Östberg",
"papirus",
"pkgs",

View file

@ -14,6 +14,20 @@ in
fontsOverlay
];
fonts.fontconfig = {
defaultFonts = {
emoji = [ "Noto Color Emoji" ]; # default
monospace = [ "MesloLGS NF" ];
sansSerif = [ "Noto Sans" ];
serif = [ "Noto Serif" ];
};
antialias = true; # default
hinting.style = "slight"; # default
subpixel.lcdfilter = "default"; # default
subpixel.rgba = "rgb";
};
fonts.fontDir.enable = true;
fonts.packages = with pkgs; [
# General fonts
@ -37,7 +51,7 @@ in
# Emoji
unicode-emoji
noto-fonts-emoji
noto-fonts-color-emoji
noto-fonts-color-emoji # default for fonts.fontconfig.defaultFonts.emoji
# Korean
nanum