Skip to content

Commit

Permalink
yoga: new nerd-fonts not compatible with 24.11
Browse files Browse the repository at this point in the history
  • Loading branch information
natsukagami committed Dec 11, 2024
1 parent ab5fcfd commit abb7bd8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions modules/personal/fonts/default.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
{ pkgs, lib, ... }:
{ pkgs, lib, config, ... }:

with lib;
let
nerd-fonts =
if builtins.hasAttr "nerd-fonts" pkgs then
pkgs.nerd-fonts.symbols-only
else
pkgs.nerdfonts.override { fonts = [ "NerdFontsSymbolsOnly" ]; };
in
{
imports = [ ./mounting.nix ];
# Fonts
config.fonts = {
packages = with pkgs; mkForce [
noto-fonts-emoji-blob-bin
ibm-plex
nerd-fonts.symbols-only
nerd-fonts
noto-fonts
(pkgs.noto-fonts-cjk-sans or pkgs.noto-fonts-cjk)
merriweather
Expand Down

0 comments on commit abb7bd8

Please sign in to comment.