From 5d196138e212600f94905ebec113a4553218d5ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Wed, 27 Nov 2024 08:42:59 +0100 Subject: [PATCH] update to use split nerd-fonts packages --- config/graphical/fonts.nix | 11 ++++------- programs/stylix/default.nix | 7 +------ 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/config/graphical/fonts.nix b/config/graphical/fonts.nix index 089b67be..a4ef9b46 100644 --- a/config/graphical/fonts.nix +++ b/config/graphical/fonts.nix @@ -28,13 +28,10 @@ noto-fonts-cjk-sans noto-fonts-emoji noto-fonts-extra - (nerdfonts.override { - fonts = [ - "FiraCode" - "DroidSansMono" - "Noto" - ]; - }) + nerd-fonts.fira-mono + nerd-fonts.fira-code + nerd-fonts.droid-sans-mono + nerd-fonts.noto ]; }; } diff --git a/programs/stylix/default.nix b/programs/stylix/default.nix index 20f662ab..06237a26 100644 --- a/programs/stylix/default.nix +++ b/programs/stylix/default.nix @@ -243,12 +243,7 @@ in name = "Noto Sans"; }; monospace = { - package = pkgs.nerdfonts.override { - fonts = [ - "FiraCode" - "Noto" - ]; - }; + package = pkgs.nerd-fonts.fira-code; name = "FiraCode Nerd Font Mono"; }; emoji = {