{ 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 sarasa-gothic #siji # TODO: bitmap font conflict jetbrains-mono twemoji-color-font emacs-all-the-icons-fonts nerd-fonts.iosevka nerd-fonts.iosevka-term nerd-fonts.jetbrains-mono ]; fonts.fontconfig.enable = true; }; }