mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-20 06:31:27 +01:00
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:
1 parent
d54b49b799
commit
1a939e2c9a
5 files changed
+22
-16
No files matched your search
@@ -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 [
|
||||
|
||||
Reference in new issue
Block a user