From 53ecf11250548858bb26144dc64b3c8957bb2a6f Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Tue, 3 Dec 2024 10:29:52 +0000 Subject: [PATCH] home-manager/desktop: fix Hack fonts deprecation --- home-manager/desktop/theme/fonts.nix | 2 +- home-manager/desktop/wayland/waybar.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/home-manager/desktop/theme/fonts.nix b/home-manager/desktop/theme/fonts.nix index e6c0e98b..856e2d62 100644 --- a/home-manager/desktop/theme/fonts.nix +++ b/home-manager/desktop/theme/fonts.nix @@ -58,7 +58,7 @@ in type = lib.types.nullOr fontType; description = "Symbols font."; default = { - package = pkgs.nerdfonts.override { fonts = [ "Hack" ]; }; + package = pkgs.nerd-fonts.hack; name = "Hack Nerd Font"; }; }; diff --git a/home-manager/desktop/wayland/waybar.nix b/home-manager/desktop/wayland/waybar.nix index 030e90be..000b0ac1 100644 --- a/home-manager/desktop/wayland/waybar.nix +++ b/home-manager/desktop/wayland/waybar.nix @@ -43,7 +43,7 @@ in config = lib.mkIf cfg.enable { home.packages = with pkgs; [ font-awesome_6 - (nerdfonts.override { fonts = [ "NerdFontsSymbolsOnly" ]; }) + nerd-fonts.symbols-only ]; programs.waybar = {