From 6aa284cd552130312885fadcaaab1a60d8b3d564 Mon Sep 17 00:00:00 2001 From: Michael Czechowski Date: Mon, 15 Sep 2025 14:27:42 +0200 Subject: [PATCH] fix: add more font packages for QEMU GTK display - Add freefont_ttf, ubuntu_font_family, cantarell-fonts to fonts.fonts - Also add dejavu_fonts and liberation_ttf to systemPackages for QEMU access - Should resolve Pango font warnings about missing DejaVu Sans Mono variants --- common.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/common.nix b/common.nix index b6f54fd..852e14c 100644 --- a/common.nix +++ b/common.nix @@ -344,6 +344,9 @@ isoConfig gnutar openssl # Add this for certificate generation chromium # Add Chromium browser + # Additional font packages for QEMU + dejavu_fonts + liberation_ttf ]; # System Setup Service (Root Tasks) @@ -1204,10 +1207,14 @@ isoConfig }; # Font packages for GUI rendering (QEMU GTK display) - fonts.packages = with pkgs; [ + fonts.fonts = with pkgs; [ dejavu_fonts liberation_ttf noto-fonts + # Additional fonts for QEMU compatibility + freefont_ttf + ubuntu_font_family + cantarell-fonts ]; # GUI Configuration