yoga: new nerd-fonts not compatible with 24.11

This commit is contained in:
Natsu Kagami 2024-12-11 17:07:12 +01:00
parent ab5fcfd802
commit abb7bd815c
Signed by: nki
GPG key ID: 55A032EB38B49ADB

View file

@ -1,6 +1,13 @@
{ pkgs, lib, ... }: { pkgs, lib, config, ... }:
with lib; 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 ]; imports = [ ./mounting.nix ];
# Fonts # Fonts
@ -8,7 +15,7 @@ with lib;
packages = with pkgs; mkForce [ packages = with pkgs; mkForce [
noto-fonts-emoji-blob-bin noto-fonts-emoji-blob-bin
ibm-plex ibm-plex
nerd-fonts.symbols-only nerd-fonts
noto-fonts noto-fonts
(pkgs.noto-fonts-cjk-sans or pkgs.noto-fonts-cjk) (pkgs.noto-fonts-cjk-sans or pkgs.noto-fonts-cjk)
merriweather merriweather