{ config
, lib
, pkgs
, ...
}: {
  options = {
    ggorg.gui.fonts = {
      enable = lib.mkEnableOption "additional fonts";
    };
  };

  config = lib.mkIf config.ggorg.gui.fonts.enable {
    fonts = {
      enableDefaultPackages = true;
      packages = with pkgs; [
        noto-fonts
        noto-fonts-cjk
        noto-fonts-emoji
        liberation_ttf
        roboto
        ubuntu_font_family

        twemoji-color-font

        corefonts
        vistafonts

        (nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
      ];
      fontconfig = {
        defaultFonts = {
          monospace = [ "JetBrainsMono Nerd Font" ];
        };
      };
    };
  };
}
