summary refs log tree commit diff
path: root/nixos/modules/config
diff options
context:
space:
mode:
authorpbogdan <ppbogdan@gmail.com>2017-09-05 17:20:42 +0100
committerJoachim F <joachifm@users.noreply.github.com>2017-09-05 16:20:42 +0000
commit94a4183bda4b63dce7d0d42bf7139f58b1b9dda7 (patch)
treed2a0d9d21242d036f69635e2b60ea9fdc414eedf /nixos/modules/config
parent52341c03e80a594f49ddeaf86e78da6e834c6bb7 (diff)
downloadnixlib-94a4183bda4b63dce7d0d42bf7139f58b1b9dda7.tar
nixlib-94a4183bda4b63dce7d0d42bf7139f58b1b9dda7.tar.gz
nixlib-94a4183bda4b63dce7d0d42bf7139f58b1b9dda7.tar.bz2
nixlib-94a4183bda4b63dce7d0d42bf7139f58b1b9dda7.tar.lz
nixlib-94a4183bda4b63dce7d0d42bf7139f58b1b9dda7.tar.xz
nixlib-94a4183bda4b63dce7d0d42bf7139f58b1b9dda7.tar.zst
nixlib-94a4183bda4b63dce7d0d42bf7139f58b1b9dda7.zip
nixos/fontconfig: fix substitutions option (#28895)
Diffstat (limited to 'nixos/modules/config')
-rw-r--r--nixos/modules/config/fonts/fontconfig-ultimate.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/config/fonts/fontconfig-ultimate.nix b/nixos/modules/config/fonts/fontconfig-ultimate.nix
index 1bf9fdb19845..c7654ca78c3a 100644
--- a/nixos/modules/config/fonts/fontconfig-ultimate.nix
+++ b/nixos/modules/config/fonts/fontconfig-ultimate.nix
@@ -53,7 +53,7 @@ in
           };
 
           substitutions = mkOption {
-            type = types.nullOr (types.enum ["free" "combi" "ms"]);
+            type = types.enum ["free" "combi" "ms" "none"];
             default = "free";
             description = ''
               Font substitutions to replace common Type 1 fonts with nicer