2007-10-03 16:44:30 +01:00
|
|
|
{pkgs, config}:
|
2007-02-25 15:53:57 +00:00
|
|
|
|
|
|
|
[
|
|
|
|
# - 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
|
2008-08-25 10:07:42 +01:00
|
|
|
pkgs.xorg.fontbhlucidatypewriter75dpi
|
2007-02-25 15:53:57 +00:00
|
|
|
pkgs.ttf_bitstream_vera
|
|
|
|
pkgs.freefont_ttf
|
|
|
|
pkgs.xorg.fontbh100dpi
|
|
|
|
pkgs.xorg.fontmiscmisc
|
|
|
|
pkgs.xorg.fontcursormisc
|
2007-10-03 16:44:30 +01:00
|
|
|
]
|
2007-09-25 20:00:20 +01:00
|
|
|
|
2008-08-25 10:07:42 +01:00
|
|
|
++ pkgs.lib.optional config.fonts.enableCoreFonts pkgs.corefonts
|
2008-03-05 14:30:19 +00:00
|
|
|
|
2008-08-25 10:07:42 +01:00
|
|
|
++ pkgs.lib.optional config.fonts.enableGhostscriptFonts "${pkgs.ghostscript}/share/ghostscript/fonts"
|
2007-10-03 16:44:30 +01:00
|
|
|
|
2008-08-08 19:57:07 +01:00
|
|
|
++ config.fonts.extraFonts
|