mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 21:19:45 +01:00
nixos: fix fontconfig mkDefault call (#3021)
This commit is contained in:
parent
cd3dd2188c
commit
87d30c1648
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue