at 15.09-beta 672 B view raw
1# This module is deprecated, since you can just say ‘fonts.fonts = [ 2# pkgs.corefonts ];’ instead. 3 4{ config, lib, pkgs, ... }: 5 6with lib; 7 8{ 9 10 options = { 11 12 fonts = { 13 14 enableCoreFonts = mkOption { 15 visible = false; 16 default = false; 17 description = '' 18 Whether to include Microsoft's proprietary Core Fonts. These fonts 19 are redistributable, but only verbatim, among other restrictions. 20 See <link xlink:href="http://corefonts.sourceforge.net/eula.htm"/> 21 for details. 22 ''; 23 }; 24 25 }; 26 27 }; 28 29 30 config = mkIf config.fonts.enableCoreFonts { 31 32 fonts.fonts = [ pkgs.corefonts ]; 33 34 }; 35 36}