Fonts: Difference between revisions
imported>LinArcX Set multiple fonts for different languages |
imported>Mic92 fix indentation |
||
Line 8: | Line 8: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
fonts.fonts = with pkgs; [ | fonts.fonts = with pkgs; [ | ||
noto-fonts | |||
noto-fonts-cjk | |||
noto-fonts-emoji | |||
liberation_ttf | |||
fira-code | |||
fira-code-symbols | |||
mplus-outline-fonts | |||
dina-font | |||
proggyfonts | |||
]; | ]; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 40: | Line 38: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
#----=[ Fonts ]=----# | #----=[ Fonts ]=----# | ||
fonts = { | |||
enableDefaultFonts = true; | |||
fonts = [ | |||
pkgs.ubuntu_font_family | |||
# Persian Fonts | |||
pkgs.vazir-fonts | |||
]; | |||
fontconfig = { | |||
penultimate.enable = false; | |||
defaultFonts = { | |||
serif = [ "Vazir" "Ubuntu" ]; | |||
sansSerif = [ "Vazir" "Ubuntu" ]; | |||
monospace = [ "Ubuntu" ]; | |||
}; | |||
}; | }; | ||
}; | |||
</syntaxhighlight> | </syntaxhighlight> | ||