dotfiles/modules/fontconfig/default.nix

22 lines
440 B
Nix

{ lib, config, pkgs, ... }:
with lib;
let
cfg = config.modules.fontconfig;
in {
options.modules.fontconfig = {
enable = mkEnableOption "fontconfig";
};
config = {
fonts.fontconfig.enable = cfg.enable;
fonts.enableDefaultPackages = false;
fonts.fontconfig.defaultFonts = {
serif = mkDefault [];
sansSerif = mkDefault [];
monospace = mkDefault [];
emoji = mkDefault [];
};
};
}