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 = { programs.fuzzel = {
enable = true; enable = true;
settings = { settings = {
# Colors now come from stylix.targets.fuzzel. # Font + colors now come from stylix.targets.fuzzel.
main = { main = {
font = "FiraMono Nerd Font:size=12";
lines = 8; lines = 8;
width = 32; width = 32;
horizontal-pad = 18; horizontal-pad = 18;

View file

@ -19,9 +19,21 @@
size = 24; size = 24;
}; };
fonts.monospace = { fonts = {
package = pkgs.nerd-fonts.fira-mono; monospace = {
name = "FiraMono Nerd Font"; 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";
};
}; };
}; };