diff options
author | worldofpeace <worldofpeace@protonmail.ch> | 2019-10-31 10:19:04 -0400 |
---|---|---|
committer | worldofpeace <worldofpeace@protonmail.ch> | 2019-11-06 02:47:00 -0500 |
commit | 3485204442e6f97ee13bfbc41a8b244433309bce (patch) | |
tree | 49c2db8db5ce89e9ce611d588e370e9468315e24 /nixos/modules/config | |
parent | ec6579437c7ee95591c22738635e075e316754b0 (diff) |
nixos/corefonts: remove
4 years ago in 7edb27b7af6ebff7e35207f7fcf16e0e2bd8884a the option was made
hidden. We should just remove the module and use mkRemovedOptionModule.
Diffstat (limited to 'nixos/modules/config')
-rw-r--r-- | nixos/modules/config/fonts/corefonts.nix | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/nixos/modules/config/fonts/corefonts.nix b/nixos/modules/config/fonts/corefonts.nix deleted file mode 100644 index b9f69879a103..000000000000 --- a/nixos/modules/config/fonts/corefonts.nix +++ /dev/null @@ -1,36 +0,0 @@ -# This module is deprecated, since you can just say ‘fonts.fonts = [ -# pkgs.corefonts ];’ instead. - -{ config, lib, pkgs, ... }: - -with lib; - -{ - - options = { - - fonts = { - - enableCoreFonts = mkOption { - visible = false; - 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 { - - fonts.fonts = [ pkgs.corefonts ]; - - }; - -} |