stylix: configure sans/serif fonts, drop fuzzel font override

Stylix's fuzzel target writes main.font from stylix.fonts.sansSerif and
collided with our explicit FiraMono. Pin sansSerif/serif to Inter
(cleaner than DejaVu) and remove the per-app font from fuzzel so stylix
can apply consistently.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
ediblerope 2026-05-11 13:44:50 +01:00
parent 783d32264e
commit eb5e3915a9
2 changed files with 16 additions and 5 deletions

View file

@ -272,9 +272,8 @@
programs.fuzzel = {
enable = true;
settings = {
# Colors now come from stylix.targets.fuzzel.
# Font + colors now come from stylix.targets.fuzzel.
main = {
font = "FiraMono Nerd Font:size=12";
lines = 8;
width = 32;
horizontal-pad = 18;

View file

@ -19,9 +19,21 @@
size = 24;
};
fonts.monospace = {
package = pkgs.nerd-fonts.fira-mono;
name = "FiraMono Nerd Font";
fonts = {
monospace = {
package = pkgs.nerd-fonts.fira-mono;
name = "FiraMono Nerd Font";
};
# Used by stylix for fuzzel, waybar, mako etc. Stylix defaults this
# to DejaVu Sans which looks dated; Inter is a clean modern sans.
sansSerif = {
package = pkgs.inter;
name = "Inter";
};
serif = {
package = pkgs.inter;
name = "Inter";
};
};
};