2024-07-19 12:00:55 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
2024-07-18 16:13:19 +00:00
|
|
|
|
|
|
|
with lib;
|
|
|
|
let
|
|
|
|
cfg = config.modules.fontconfig;
|
2024-07-19 12:00:55 +00:00
|
|
|
in
|
|
|
|
{
|
2024-07-18 16:13:19 +00:00
|
|
|
options.modules.fontconfig = {
|
|
|
|
enable = mkEnableOption "fontconfig";
|
|
|
|
};
|
|
|
|
|
|
|
|
config = {
|
|
|
|
fonts.fontconfig.enable = cfg.enable;
|
|
|
|
fonts.enableDefaultPackages = false;
|
|
|
|
fonts.fontconfig.defaultFonts = {
|
2024-07-19 12:00:55 +00:00
|
|
|
serif = mkDefault [ ];
|
|
|
|
sansSerif = mkDefault [ ];
|
|
|
|
monospace = mkDefault [ ];
|
|
|
|
emoji = mkDefault [ ];
|
2024-07-18 16:13:19 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|