anchor.diff:            pkgs.xorg.fontmiscmisc
             pkgs.xorg.fontcursormisc
           ]
  -        ++ pkgs.lib.optional config.fonts.enableCoreFonts pkgs.corefonts
  -        ++ pkgs.lib.optional config.fonts.enableGhostscriptFonts "${pkgs.ghostscript}/share/ghostscript/fonts"
  +        ++ optional config.fonts.enableCoreFonts pkgs.corefonts
  +        ++ optional config.fonts.enableGhostscriptFonts "${pkgs.ghostscript}/share/ghostscript/fonts"
           ++ config.fonts.extraFonts;
         };
   
  
positive.code:         ";
        };
  
        # should be move elsewhere.
        enableGhostscriptFonts = mkOption {
          default = false;
          description = "
  
negative.code:     '';
  
    environment.systemPackages =
      optional config.fonts.enableFontDir config.system.build.x11Fonts ++
      optional config.fonts.enableFontConfig pkgs.fontconfig;
  }
  