nixconfig/modules/fonts.nix

35 lines
710 B
Nix
Raw Normal View History

2023-04-12 20:32:07 +02:00
{
pkgs,
...
}: {
fonts = {
enableDefaultPackages = false;
fontDir.enable = true;
#fonts = with pkgs; [
packages = with pkgs; [
ibm-plex
lmmath
openmoji-color
material-design-icons
noto-fonts
unifont
];
fontconfig = {
enable = true;
allowBitmaps = true;
defaultFonts = {
monospace = [ "IBM Plex Mono" "Openmoji" "Material Design Icons"];
serif = [ "IBM Plex Sans" "Openmoji" "Material Design Icons"];
sansSerif = [ "IBM Plex Sans" "Openmoji" "Material Design Icons"];
emoji = [ "Openmoji" ];
};
hinting.style = "medium";
# hinting.style = "hintfull";
};
};
}