Broken monospace fonts
Some apps like VSCode and Alacritty seem to be unable to load mono-space fonts correctly and use their default fonts. Been looking into this for two weeks but no bueno. Not everything is broken as apps like Kate seem and flatpak items seem to still work. It's mostly items from Nix that seem to be unable to resoolve fonts.
I've tried multiple things including resetting nix, rebasing to Bazzite (from Aurora) and few more minore things. Appreciate any pointers.

Solution:Jump to solution
This turned out to something fishy replacing "Noto Sans Mono" files with "Noto Sans" font. That is, there's
ttf
on the system that carry the NotoSansMono-XXX.ttf
title but are actually Noto Sans
proportional. And the trouble is, this was my system's default monospace font and also my configured font for Alacritty.
And yeah, this was not a nix problem and I'm just using the NotoSansM Nerd Font
that comes from the nix nerd-font.noto
package to get everything sorted....1 Reply
Solution
This turned out to something fishy replacing "Noto Sans Mono" files with "Noto Sans" font. That is, there's
ttf
on the system that carry the NotoSansMono-XXX.ttf
title but are actually Noto Sans
proportional. And the trouble is, this was my system's default monospace font and also my configured font for Alacritty.
And yeah, this was not a nix problem and I'm just using the NotoSansM Nerd Font
that comes from the nix nerd-font.noto
package to get everything sorted.