python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / nixos / modules / config / fonts / ghostscript.nix
blobc284c4a0b0ab11ef253f1862c388370c387d8475
1 { config, lib, pkgs, ... }:
3 with lib;
7   options = {
9     fonts = {
11       enableGhostscriptFonts = mkOption {
12         type = types.bool;
13         default = false;
14         description = lib.mdDoc ''
15           Whether to add the fonts provided by Ghostscript (such as
16           various URW fonts and the “Base-14” Postscript fonts) to the
17           list of system fonts, making them available to X11
18           applications.
19         '';
20       };
22     };
24   };
27   config = mkIf config.fonts.enableGhostscriptFonts {
29     fonts.fonts = [ "${pkgs.ghostscript}/share/ghostscript/fonts" ];
31   };