From b1cbec401cc52962b199d9de12cffaaf495c4b7a Mon Sep 17 00:00:00 2001 From: benvonh Date: Thu, 26 Dec 2024 00:01:32 +1000 Subject: [PATCH] Bring back pre-25.05 jetbrains nerd font --- nix/module.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/nix/module.nix b/nix/module.nix index 87fbf81..1e3bb14 100644 --- a/nix/module.nix +++ b/nix/module.nix @@ -217,8 +217,13 @@ in }; config = mkIf cfg.enable { - # TODO:(benvonh) Nerd font packaging changes in NixOS 25.05 - home.packages = [pkgs.nerd-fonts.jetbrains-mono]; + home.packages = [ + (if pkgs ? nerd-fonts.jetbrains-mono + then pkgs.nerd-fonts.jetbrains-mono + # NOTE:(benvonh) Remove after next release 25.05 + else pkgs.nerdfonts.override { fonts = [ "JetBrainsMono" ]; } + ) + ]; # NOTE:(benvonh) # When changing the configuration through the GUI, HyprPanel will delete the `config.json` file and create a new