mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
nixos: allow setting fonts.fontconfig.enable without mkForce (#3014)
This commit is contained in:
parent
935ecea67d
commit
cd3dd2188c
1 changed files with 1 additions and 1 deletions
|
@ -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