···33with lib;
4455{
66-76 options = {
88-99- fonts = {
1010-1111- enableGhostscriptFonts = mkOption {
1212- type = types.bool;
1313- default = false;
1414- description = lib.mdDoc ''
1515- Whether to add the fonts provided by Ghostscript (such as
1616- various URW fonts and the “Base-14” Postscript fonts) to the
1717- list of system fonts, making them available to X11
1818- applications.
1919- '';
2020- };
2121-77+ fonts.enableGhostscriptFonts = mkOption {
88+ type = types.bool;
99+ default = false;
1010+ description = lib.mdDoc ''
1111+ Whether to add the fonts provided by Ghostscript (such as
1212+ various URW fonts and the “Base-14” Postscript fonts) to the
1313+ list of system fonts, making them available to X11
1414+ applications.
1515+ '';
2216 };
23172418 };
2525-26192720 config = mkIf config.fonts.enableGhostscriptFonts {
2828-2921 fonts.packages = [ "${pkgs.ghostscript}/share/ghostscript/fonts" ];
3030-3122 };
3232-3323}