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