summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-05-21 14:47:08 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-06-01 10:43:43 +0200
commit7edb27b7af6ebff7e35207f7fcf16e0e2bd8884a (patch)
treee75e5aeca691ec539ea2f9768db626229398af34
parent8bea2bc5bb66dc1d9b916a6b41e9e3aa18a9247e (diff)
downloadnixpkgs-7edb27b7af6ebff7e35207f7fcf16e0e2bd8884a.tar
nixpkgs-7edb27b7af6ebff7e35207f7fcf16e0e2bd8884a.tar.gz
nixpkgs-7edb27b7af6ebff7e35207f7fcf16e0e2bd8884a.tar.bz2
nixpkgs-7edb27b7af6ebff7e35207f7fcf16e0e2bd8884a.tar.lz
nixpkgs-7edb27b7af6ebff7e35207f7fcf16e0e2bd8884a.tar.xz
nixpkgs-7edb27b7af6ebff7e35207f7fcf16e0e2bd8884a.tar.zst
nixpkgs-7edb27b7af6ebff7e35207f7fcf16e0e2bd8884a.zip
Hide the option fonts.enableCoreFonts
We shouldn't have options that simply enable a package.
-rw-r--r--nixos/modules/config/fonts/corefonts.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/config/fonts/corefonts.nix b/nixos/modules/config/fonts/corefonts.nix
index ad797087932..b9f69879a10 100644
--- a/nixos/modules/config/fonts/corefonts.nix
+++ b/nixos/modules/config/fonts/corefonts.nix
@@ -1,3 +1,6 @@
+# This module is deprecated, since you can just say ‘fonts.fonts = [
+# pkgs.corefonts ];’ instead.
+
 { config, lib, pkgs, ... }:
 
 with lib;
@@ -9,6 +12,7 @@ with lib;
     fonts = {
 
       enableCoreFonts = mkOption {
+        visible = false;
         default = false;
         description = ''
           Whether to include Microsoft's proprietary Core Fonts.  These fonts