{ config, lib, pkgs, ... }: let cfg = config.profiles.fonts; in { options.profiles.fonts = { enable = lib.mkEnableOption "A profile that installs extra fonts. (for Non-NixOS systems)"; }; config = lib.mkIf cfg.enable { home.packages = with pkgs; [ dina-font iosevka-pure-bin readable-cherry sarasa-gothic scientifica #siji # TODO: bitmap font conflict jetbrains-mono twemoji-color-font emacs-all-the-icons-fonts (nerdfonts.override { fonts = [ "Iosevka" "JetBrainsMono" ]; }) ]; fonts.fontconfig.enable = true; }; }