From b68fa55000d75c48b607ca42ed5cefebbb6bd00d Mon Sep 17 00:00:00 2001 From: Maor Haimovitz Date: Tue, 7 Oct 2025 19:37:43 -0400 Subject: [PATCH] nixos/fontconfig: fix allowBitmaps option --- nixos/modules/config/fonts/fontconfig.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/modules/config/fonts/fontconfig.nix b/nixos/modules/config/fonts/fontconfig.nix index 82bac6249d21..419de1a89fa8 100644 --- a/nixos/modules/config/fonts/fontconfig.nix +++ b/nixos/modules/config/fonts/fontconfig.nix @@ -219,6 +219,10 @@ let replaceDefaultConfig "11-lcdfilter-default.conf" "11-lcdfilter-${cfg.subpixel.lcdfilter}.conf" )} + ${lib.optionalString cfg.allowBitmaps '' + rm -f $dst/70-no-bitmaps-except-emoji.conf + ''} + # 00-nixos-cache.conf ln -s ${cacheConf} $dst/00-nixos-cache.conf