From 7dcab0711bfc103a1fb05ba643ee7a3bd309fbe4 Mon Sep 17 00:00:00 2001 From: Bernardo Meurer Date: Wed, 19 Jun 2024 05:30:25 -0400 Subject: [PATCH] fonts: remove 'fonts.fontDir.enable' and use 'fonts.packages' (#439) Remove the obsolete 'fonts.fontDir.enable' option and replace the 'fonts.fonts' option with 'fonts.packages'. This should fix Stylix for nix-darwin past 58b905ea. Closes: https://github.com/danth/stylix/issues/435 --- stylix/darwin/fonts.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stylix/darwin/fonts.nix b/stylix/darwin/fonts.nix index aab65686..eff55ea3 100644 --- a/stylix/darwin/fonts.nix +++ b/stylix/darwin/fonts.nix @@ -5,7 +5,6 @@ let in { imports = [ ../fonts.nix ]; config.fonts = lib.mkIf config.stylix.enable { - fontDir.enable = true; - fonts = cfg.packages; + inherit (cfg) packages; }; }