mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
94b7b9377c
available to X11 apps. svn path=/nixos/trunk/; revision=9401
26 lines
690 B
Nix
26 lines
690 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.ttf_bitstream_vera
|
|
pkgs.corefonts
|
|
pkgs.freefont_ttf
|
|
pkgs.xorg.fontbh100dpi
|
|
pkgs.xorg.fontmiscmisc
|
|
pkgs.xorg.fontcursormisc
|
|
]
|
|
|
|
++ pkgs.lib.optional (config.get ["fonts" "enableGhostscriptFonts"]) "${pkgs.ghostscript}/share/ghostscript/fonts"
|
|
|
|
++ ((config.get ["fonts" "extraFonts"]) pkgs)
|