1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 03:29:45 +01:00

nixos: allow setting fonts.fontconfig.enable without mkForce (#3014)

This commit is contained in:
Sandro 2022-06-13 20:00:51 +02:00 committed by GitHub
parent 935ecea67d
commit cd3dd2188c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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