From 87d30c164849a7471d99749aa4d2d28b81564f69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Silva?= <123550+andresilva@users.noreply.github.com> Date: Tue, 14 Jun 2022 10:34:44 +0100 Subject: [PATCH] nixos: fix fontconfig mkDefault call (#3021) --- nixos/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/default.nix b/nixos/default.nix index cb4bcd64..7b1af604 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -21,8 +21,8 @@ in { sharedModules = [{ # The per-user directory inside /etc/profiles is not known by # fontconfig by default. - fonts.fontconfig.enable = lib.mkDefault cfg.useUserPackages - && config.fonts.fontconfig.enable; + fonts.fontconfig.enable = lib.mkDefault + (cfg.useUserPackages && config.fonts.fontconfig.enable); }]; }; }