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, ...}: {
alqueva.fonts = {
enable = true;
names = {
sansSerif = ["Liberation Sans"];
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];
emoji = [pkgs.openmoji-color pkgs.noto-fonts];
};
enable = true;
};
}

View file

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