{ config, lib, pkgs, ... }: let cfg = config.os.core.fonts; in { options.os.core.fonts.enable = lib.mkEnableOption "system-wide font and console configuration"; config = lib.mkIf cfg.enable { # console = { # keyMap = "pl"; # earlySetup = true; # font = "ter-v32n"; # packages = with pkgs; [ terminus_font ]; # }; fonts.packages = with pkgs; [ nerd-fonts.jetbrains-mono nerd-fonts.fira-mono nerd-fonts.fira-code noto-fonts noto-fonts-cjk-sans noto-fonts-cjk-serif noto-fonts-color-emoji ]; }; }