2015-05-21 12:47:08 +00:00
|
|
|
|
# This module is deprecated, since you can just say ‘fonts.fonts = [
|
|
|
|
|
# pkgs.corefonts ];’ instead.
|
|
|
|
|
|
2014-04-14 14:26:48 +00:00
|
|
|
|
{ config, lib, pkgs, ... }:
|
2013-06-27 11:12:45 +00:00
|
|
|
|
|
2014-04-14 14:26:48 +00:00
|
|
|
|
with lib;
|
2013-06-27 11:12:45 +00:00
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
options = {
|
|
|
|
|
|
|
|
|
|
fonts = {
|
|
|
|
|
|
|
|
|
|
enableCoreFonts = mkOption {
|
2015-05-21 12:47:08 +00:00
|
|
|
|
visible = false;
|
2013-06-27 11:12:45 +00:00
|
|
|
|
default = false;
|
|
|
|
|
description = ''
|
|
|
|
|
Whether to include Microsoft's proprietary Core Fonts. These fonts
|
|
|
|
|
are redistributable, but only verbatim, among other restrictions.
|
|
|
|
|
See <link xlink:href="http://corefonts.sourceforge.net/eula.htm"/>
|
|
|
|
|
for details.
|
|
|
|
|
'';
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
config = mkIf config.fonts.enableCoreFonts {
|
|
|
|
|
|
2014-04-29 10:25:47 +00:00
|
|
|
|
fonts.fonts = [ pkgs.corefonts ];
|
2013-06-27 11:12:45 +00:00
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
}
|