Skip to content

Commit

Permalink
fonts: remove 'fonts.fontDir.enable' and use 'fonts.packages' (#439)
Browse files Browse the repository at this point in the history
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: #435
  • Loading branch information
lovesegfault authored Jun 19, 2024
1 parent f13c946 commit 7dcab07
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions stylix/darwin/fonts.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
}

0 comments on commit 7dcab07

Please sign in to comment.