Skip to content

Commit

Permalink
fix(fonts): Adapt to #245's changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jalil-salame committed Apr 19, 2024
1 parent 7639213 commit 2f2be91
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions stylix/fonts.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};
}

0 comments on commit 2f2be91

Please sign in to comment.