2007-10-03 17:44:30 +02:00
|
|
|
{pkgs, config}:
|
2007-02-25 16:53:57 +01: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
|
|
|
|
pkgs.ttf_bitstream_vera
|
|
|
|
pkgs.corefonts
|
|
|
|
pkgs.freefont_ttf
|
|
|
|
pkgs.xorg.fontbh100dpi
|
|
|
|
pkgs.xorg.fontmiscmisc
|
|
|
|
pkgs.xorg.fontcursormisc
|
2007-10-03 17:44:30 +02:00
|
|
|
]
|
2007-09-25 21:00:20 +02:00
|
|
|
|
2007-10-03 17:44:30 +02:00
|
|
|
++ pkgs.lib.optional (config.get ["fonts" "enableGhostscriptFonts"]) "${pkgs.ghostscript}/share/ghostscript/fonts"
|
|
|
|
|
|
|
|
++ ((config.get ["fonts" "extraFonts"]) pkgs)
|