diff --git a/nixos/default.nix b/nixos/default.nix index b1c1b30b0..cb4bcd647 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -21,7 +21,7 @@ in { sharedModules = [{ # The per-user directory inside /etc/profiles is not known by # fontconfig by default. - fonts.fontconfig.enable = cfg.useUserPackages + fonts.fontconfig.enable = lib.mkDefault cfg.useUserPackages && config.fonts.fontconfig.enable; }]; };