fix(nixpak): use host fontconfig in sandboxes (#496)

Reuse the host fontconfig for Nixpak GUI apps so host and sandboxed apps resolve fonts consistently.

Assisted-by: DeepSeek Harness (deepseek-flash)
This commit is contained in:
ryan4yin | 二花 authored and GitHub committed 2026-11-01 11:26:25 +08:00
1 parent d54b49b799
commit 1a939e2c9a
5 files changed
+22 -16

No files matched your search

+3
View File
@@ -12,6 +12,9 @@ in
fonts.enable = lib.mkEnableOption "Rich Fonts - Add NerdFonts Icons, emojis & CJK Fonts";
};
# This is the single font package list for the host and its Nixpak sandboxes:
# Nixpak GUI wrappers bind the generated host fontconfig rather than
# installing their own fonts.
config.fonts.packages =
with pkgs;
lib.mkIf cfg.fonts.enable [