{pkgs, ...}: let
  inherit (builtins) attrValues;
in {
  fonts = {
    packages =
      attrValues {
        inherit
          (pkgs)
          material-icons
          material-design-icons
          roboto
          work-sans
          comic-neue
          source-sans
          twemoji-color-font
          comfortaa
          inter
          lato
          lexend
          jost
          dejavu_fonts
          noto-fonts
          noto-fonts-cjk
          noto-fonts-emoji
          jetbrains-mono
          ;
      }
      ++ [
        (pkgs.nerdfonts.override {fonts = ["JetBrainsMono"];})
      ];

    enableDefaultPackages = false;

    # this fixes emoji stuff
    fontconfig = {
      defaultFonts = {
        monospace = [
          "JetBrainsMono"
          "JetBrainsMono Nerd Font"
          "Noto Color Emoji"
        ];
        sansSerif = ["Lexend" "Noto Color Emoji"];
        serif = ["Noto Serif" "Noto Color Emoji"];
        emoji = ["Noto Color Emoji"];
      };
    };
  };
}
