Improve fonts system-wide
This commit is contained in:
parent
61b35e21d7
commit
5feca0c580
2 changed files with 11 additions and 1 deletions
|
@ -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;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue