mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
nixos: allow setting fonts.fontconfig.enable without mkForce (#3014)
This commit is contained in:
@@ -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;
|
||||
}];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user