From da4c299cce9f781e1af11e4319fa0f6cbcff1ab3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Fri, 9 Feb 2024 18:17:26 +0100 Subject: [PATCH] fix(fonts): Adapt to #245's changes --- stylix/fonts.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/stylix/fonts.nix b/stylix/fonts.nix index 4cadd2bd5..5f8528b4d 100644 --- a/stylix/fonts.nix +++ b/stylix/fonts.nix @@ -144,11 +144,10 @@ in }; config = { - stylix.fonts.packages = [ - cfg.monospace.package - cfg.serif.package - cfg.sansSerif.package - cfg.emoji.package - ]; + stylix.fonts.packages = + (lib.catAttrs "package" cfg.monospace) + ++ (lib.catAttrs "package" cfg.serif) + ++ (lib.catAttrs "package" cfg.sansSerif) + ++ (lib.catAttrs "package" cfg.emoji); }; }