nixconfig/modules/fonts.nix
2023-10-12 16:16:29 +02:00

35 lines
710 B
Nix
Executable File

{
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";
};
};
}