Fix font issues

This commit is contained in:
Paul-Henri Froidmont 2024-07-03 05:42:05 +02:00
parent 28b58fe7ea
commit f5bb64cfe9
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE
2 changed files with 6 additions and 1 deletions

View file

@ -23,9 +23,11 @@ in {
fonts = { fonts = {
packages = with pkgs.unstable; [ packages = with pkgs.unstable; [
corefonts # Microsoft free fonts corefonts # Microsoft free fonts
noto-fonts-emoji
meslo-lg
(nerdfonts.override { fonts = [ "Meslo" "NerdFontsSymbolsOnly" ]; }) (nerdfonts.override { fonts = [ "Meslo" "NerdFontsSymbolsOnly" ]; })
]; ];
fontconfig.defaultFonts = { monospace = [ "MesloLGS Nerd Font" ]; }; fontconfig.defaultFonts = { monospace = [ "MesloLGS Nerd Font Mono" ]; };
}; };
programs.adb.enable = true; programs.adb.enable = true;

View file

@ -13,7 +13,10 @@ in {
settings = { settings = {
scrollback_lines = 65535; scrollback_lines = 65535;
enable_audio_bell = false; enable_audio_bell = false;
font_family = "Meslo LG S";
font_size = 10; font_size = 10;
symbol_map =
"U+e000-U+e00a,U+ea60-U+ebeb,U+e0a0-U+e0c8,U+e0ca,U+e0cc-U+e0d4,U+e200-U+e2a9,U+e300-U+e3e3,U+e5fa-U+e6b1,U+e700-U+e7c5,U+f000-U+f2e0,U+f300-U+f372,U+f400-U+f532,U+f0001-U+f1af0 Symbols Nerd Font Mono";
}; };
keybindings = { keybindings = {
"ctrl+up" = "change_font_size all +2.0"; "ctrl+up" = "change_font_size all +2.0";