fix(live): re-enable fontconfig + xdg integration the minimal-CD profile strips

installation-cd-minimal forces fonts.fontconfig.enable = false
(mkOverride 500) to slim a console-only installer — but this ISO is the
desktop. Without fontconfig no family resolves: Waybar's nf-md icons
rendered as tofu boxes and Ghostty silently fell back to the wrong
font (reported on the Latitude 5410, reproduced + fix verified in QEMU
via VNC screenshots: icons render, fc-match resolves JetBrainsMono
Nerd Font). Also restore xdg icons/mime/autostart and man pages.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Bernardo Magri
2026-06-12 20:23:28 +01:00
parent c1781f45ca
commit 1ba1eeed64

View File

@@ -9,6 +9,19 @@
isoImage.volumeID = lib.mkForce "NOMARCHY_LIVE";
isoImage.edition = lib.mkForce "live";
# The minimal-CD profile slims the image for a CONSOLE installer; this
# ISO is the desktop, so re-enable what it strips. Above all
# fontconfig (upstream forces it off at mkOverride 500): without it
# no configured family resolves — Waybar icons render as tofu and
# Ghostty silently falls back to the wrong font (seen on the
# Latitude 5410). Normal priority (100) beats the override.
fonts.fontconfig.enable = true;
xdg.icons.enable = true;
xdg.mime.enable = true;
xdg.autostart.enable = true;
documentation.enable = true;
documentation.man.enable = true;
# Do NOT touch networking.wireless here: since NixOS 26.05 the
# NetworkManager module drives its wifi backend through it
# (wireless.enable = true + dbusControlled). Force-disabling it