1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 05:29:46 +01:00

nixos: fix fontconfig mkDefault call (#3021)

This commit is contained in:
André Silva 2022-06-14 10:34:44 +01:00 committed by GitHub
parent cd3dd2188c
commit 87d30c1648
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,8 +21,8 @@ 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 = lib.mkDefault cfg.useUserPackages fonts.fontconfig.enable = lib.mkDefault
&& config.fonts.fontconfig.enable; (cfg.useUserPackages && config.fonts.fontconfig.enable);
}]; }];
}; };
} }