nixpkgs/system/fonts.nix
Eelco Dolstra 15e77dfb1c * Add some ugly fonts (like adobe-helvetica) required by some
primitive applications.

svn path=/nixos/trunk/; revision=12700
2008-08-25 09:07:42 +00:00

30 lines
803 B
Nix

{pkgs, config}:
[
# - the user's .fonts directory
"~/.fonts"
# - the user's current profile
"~/.nix-profile/lib/X11/fonts"
"~/.nix-profile/share/fonts"
# - the default profile
"/nix/var/nix/profiles/default/lib/X11/fonts"
"/nix/var/nix/profiles/default/share/fonts"
# - a few statically built locations
pkgs.xorg.fontbhttf
pkgs.xorg.fontbhlucidatypewriter100dpi
pkgs.xorg.fontbhlucidatypewriter75dpi
pkgs.xorg.fontadobe100dpi
pkgs.xorg.fontadobe75dpi
pkgs.ttf_bitstream_vera
pkgs.freefont_ttf
pkgs.xorg.fontbh100dpi
pkgs.xorg.fontmiscmisc
pkgs.xorg.fontcursormisc
]
++ pkgs.lib.optional config.fonts.enableCoreFonts pkgs.corefonts
++ pkgs.lib.optional config.fonts.enableGhostscriptFonts "${pkgs.ghostscript}/share/ghostscript/fonts"
++ config.fonts.extraFonts