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
This commit is contained in:
parent
f13c946181
commit
7dcab0711b
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue