Improve fonts system-wide

This commit is contained in:
xmm16 2024-12-14 04:32:17 -03:00
commit 5feca0c580
No known key found for this signature in database
2 changed files with 11 additions and 1 deletions

View file

@ -1,5 +1,6 @@
{pkgs, ...}: { {pkgs, ...}: {
alqueva.fonts = { alqueva.fonts = {
enable = true;
names = { names = {
sansSerif = ["Liberation Sans"]; sansSerif = ["Liberation Sans"];
monospace = ["JetBrainsMono Nerd Font"]; monospace = ["JetBrainsMono Nerd Font"];
@ -12,6 +13,5 @@
serif = [pkgs.liberation_ttf pkgs.noto-fonts pkgs.noto-fonts pkgs.noto-fonts-cjk-sans pkgs.noto-fonts-cjk-serif]; serif = [pkgs.liberation_ttf pkgs.noto-fonts pkgs.noto-fonts pkgs.noto-fonts-cjk-sans pkgs.noto-fonts-cjk-serif];
emoji = [pkgs.openmoji-color pkgs.noto-fonts]; emoji = [pkgs.openmoji-color pkgs.noto-fonts];
}; };
enable = true;
}; };
} }

View file

@ -207,5 +207,15 @@
enable = true; enable = true;
decompressFonts = true; decompressFonts = true;
}; };
fontconfig = {
enable = true;
antialias = true;
useEmbeddedBitmaps = true;
hinting = {
enable = true;
style = "full";
};
subpixel.rgba = "rgb";
};
}; };
} }