2014-04-14 15:26:48 +01:00
|
|
|
{ config, lib, pkgs, ... }:
|
2013-06-27 12:12:45 +01:00
|
|
|
|
2014-04-14 15:26:48 +01:00
|
|
|
with lib;
|
2013-06-27 12:12:45 +01:00
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
options = {
|
|
|
|
|
|
|
|
fonts = {
|
|
|
|
|
|
|
|
enableCoreFonts = mkOption {
|
|
|
|
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 11:25:47 +01:00
|
|
|
fonts.fonts = [ pkgs.corefonts ];
|
2013-06-27 12:12:45 +01:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|