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