nixos: allow setting fonts.fontconfig.enable without mkForce (#3014)
This commit is contained in:
parent
935ecea67d
commit
cd3dd2188c
|
@ -21,7 +21,7 @@ in {
|
||||||
sharedModules = [{
|
sharedModules = [{
|
||||||
# The per-user directory inside /etc/profiles is not known by
|
# The per-user directory inside /etc/profiles is not known by
|
||||||
# fontconfig by default.
|
# fontconfig by default.
|
||||||
fonts.fontconfig.enable = cfg.useUserPackages
|
fonts.fontconfig.enable = lib.mkDefault cfg.useUserPackages
|
||||||
&& config.fonts.fontconfig.enable;
|
&& config.fonts.fontconfig.enable;
|
||||||
}];
|
}];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue