feat(branding): fastfetch logo + Nomarchy.ttf glyph in the Waybar button

Two branding follow-ups, using the vendored legacy assets:

- fastfetch (modules/home/fastfetch.nix, nomarchy.fastfetch.enable): the
  vector logo recolored to the palette accent and rendered to compact
  block-art via chafa at build time (so it tracks the theme), fronting a
  curated module list. Replaces the oversized legacy ASCII.
- Waybar logo glyph: vendor Nomarchy.ttf (modules/nixos/branding/),
  install it via fonts.packages, and switch the summer-day/night menu
  buttons to its U+F000 mark with `font-family: Nomarchy` pinned in CSS
  (Nerd Fonts also occupy U+F000, so the pin is required). Glyph stored as
  the  JSON escape for robustness.

Also log a roadmap item for a quality-of-life alias collection.

Verified: font family resolves as "Nomarchy" and the ttf maps U+F000;
both summer jsonc parse; chafa logo builds headless; nix flake check passes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Bernardo Magri
2026-06-13 22:07:28 +01:00
parent 4017b6cff6
commit 69f7ae9051
11 changed files with 87 additions and 13 deletions

View File

@@ -12,6 +12,14 @@ let
# Reused by the greeter banner and MOTD so the brand name lives in one
# place (system.nixos.distroName, set below).
distroName = config.system.nixos.distroName;
# The Nomarchy glyph font: a single-glyph face (the logo at U+F000) used
# by the Waybar menu button in the summer themes. Pinned via
# `font-family: Nomarchy` in their CSS, since Nerd Fonts also occupy
# U+F000 (a glass icon) and would otherwise win.
nomarchyLogoFont = pkgs.runCommandLocal "nomarchy-logo-font" { } ''
install -Dm444 ${./branding/Nomarchy.ttf} $out/share/fonts/truetype/Nomarchy.ttf
'';
in
{
imports = [ ./options.nix ./plymouth.nix ./file-manager.nix ];
@@ -157,6 +165,8 @@ in
# The legacy-ported waybar identities (summer-day/night) use
# FontAwesome codepoints in their layouts and list it in css.
font-awesome
# The Nomarchy logo glyph (U+F000) for the summer menu button.
nomarchyLogoFont
];
fontconfig.defaultFonts = {
monospace = lib.mkDefault [ "JetBrainsMono Nerd Font" ];