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); }]; }; }