You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
548 B

  1. { config, pkgs, ... }:
  2. with pkgs.lib;
  3. {
  4. options = {
  5. fonts = {
  6. enableCoreFonts = mkOption {
  7. default = false;
  8. description = ''
  9. Whether to include Microsoft's proprietary Core Fonts. These fonts
  10. are redistributable, but only verbatim, among other restrictions.
  11. See <link xlink:href="http://corefonts.sourceforge.net/eula.htm"/>
  12. for details.
  13. '';
  14. };
  15. };
  16. };
  17. config = mkIf config.fonts.enableCoreFonts {
  18. fonts.extraFonts = [ pkgs.corefonts ];
  19. };
  20. }