{ lib, pkgs, config, ... }: with lib; let cfg = config.eboskma.fonts; iosevka-aile = pkgs.iosevka-bin.override { variant = "Aile"; }; in { options.eboskma.fonts = { enable = mkEnableOption "activate fonts"; }; config = mkIf cfg.enable { fonts = { fontDir.enable = true; packages = with pkgs; [ nerd-fonts.iosevka nerd-fonts.meslo-lg nerd-fonts.monaspace nerd-fonts.noto nerd-fonts.recursive-mono cantarell-fonts corefonts dejavu_fonts google-fonts kochi-substitute material-icons monaspace noto-fonts-emoji recursive ttf_bitstream_vera twitter-color-emoji iosevka-aile ]; fontconfig = { defaultFonts = { serif = [ "Recursive Sans Casual Static Medium" ]; sansSerif = [ "Cantarell Regular" ]; monospace = [ "Iosevka Nerd Font" ]; emoji = [ "Twitter Color Emoji" ]; }; }; }; }; }