diff --git a/home/modules/programs/my-kitty/default.nix b/home/modules/programs/my-kitty/default.nix index dccb332..6ac7dab 100644 --- a/home/modules/programs/my-kitty/default.nix +++ b/home/modules/programs/my-kitty/default.nix @@ -93,6 +93,18 @@ with lib; ## Hints "${cfg.cmd}+shift+p>n" = "kitten hints --type=linenum --linenum-action=tab kak {path} +{line}"; }; + + extraConfig = + let + # Nerd Fonts glyph map + glyphMap = pkgs.fetchurl { + url = "https://raw.githubusercontent.com/Sharparam/dotfiles/main/kitty/.config/kitty/font-nerd-symbols.conf"; + hash = "sha256-1OaDWLC3y8ASD2ttRWWgPEpRnfKXu6H6vS3cFVpzT0o="; + }; + in + '' + include ${glyphMap} + ''; }; } diff --git a/modules/personal/fonts/default.nix b/modules/personal/fonts/default.nix index cd582ef..50d9cdb 100644 --- a/modules/personal/fonts/default.nix +++ b/modules/personal/fonts/default.nix @@ -5,7 +5,7 @@ with lib; imports = [ ./mounting.nix ]; # Fonts config.fonts = { - packages = with pkgs; [ + packages = with pkgs; mkForce [ noto-fonts-emoji-blob-bin ibm-plex (nerdfonts.override { fonts = [ "NerdFontsSymbolsOnly" ]; }) @@ -22,7 +22,7 @@ with lib; emoji = lib.mkBefore [ "Blobmoji" ]; serif = lib.mkBefore [ "IBM Plex Serif" "IBM Plex Sans JP" "IBM Plex Sans KR" "Blobmoji" ]; sansSerif = lib.mkBefore [ "IBM Plex Sans" "IBM Plex Sans JP" "IBM Plex Sans KR" "Blobmoji" ]; - monospace = lib.mkBefore [ "IBM Plex Mono" "Font Awesome 6 Free" "Blobmoji" "IBM Plex Sans JP" ]; + monospace = lib.mkBefore [ "IBM Plex Mono" "Font Awesome 6 Free" "Symbols Nerd Font" "Blobmoji" "IBM Plex Sans JP" ]; }; localConf = ''