▲ 1 r/NixOS
asking for help with fonts
Hello, nixOS/linux noob here asking for help🙃
Ive just installed nix with plasma de, and i have terrible system font aberration (rainbow effect) after a selected Roboto Mono font as my systemwide font. You can see in screenshot that icons look normal but font looks bad. I didn`t have this problem in Nobara KDE which i used for nearly 5 months.
Can someone pls help me to pinpoint the problem? Is this nix problem or plasma problem?
I`ve tried two solutions(without any success):
Change AA and hinting in KDE itself
Change config itself (with help of LLM):
fonts.packages = with pkgs; [
roboto # Основний шрифт Roboto
roboto-mono # Моноширинний для термінала
roboto-serif # З засічками, якщо знадобиться
];
fonts.fontconfig = {
enable = true;
defaultFonts = {
sansSerif = [ "Roboto" ];
serif = [ "Roboto Serif" ];
monospace = [ "Roboto Mono" ];
};
# Налаштування для усунення кольорових ореолів:
subpixel = {
rgba = "rgb"; # або "none", якщо хочеш повністю прибрати кольорове згладжування
lcdfilter = "default";
};
hinting = {
enable = true;
style = "slight"; # "slight" зазвичай найкраще виглядає для Roboto
};
};
u/Lanky-School-8984 — 4 days ago