From 576f9694908a91201a433bbb91ecbce3c4799485 Mon Sep 17 00:00:00 2001 From: alejandro-angulo Date: Sat, 21 Sep 2024 21:57:13 -0700 Subject: [PATCH] Removed IFD in kitty New `themeFile` option supercedes `theme` (and avoids IFD). --- modules/home/programs/kitty/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/home/programs/kitty/default.nix b/modules/home/programs/kitty/default.nix index 63b7072..05e1678 100644 --- a/modules/home/programs/kitty/default.nix +++ b/modules/home/programs/kitty/default.nix @@ -16,11 +16,11 @@ in { config = mkIf cfg.enable { programs.kitty = { enable = true; - # Set theme with `extraConfig` instead of `theme` to avoid IFD. - # See here: https://github.com/nix-community/home-manager/issues/5110 - extraConfig = '' - include ${pkgs.kitty-themes}/share/kitty-themes/themes/Catppuccin-Mocha.conf - ''; + # Set theme explicity instead of using catppuccin flake until relevant PR + # is merged. + # + # https://github.com/catppuccin/nix/pull/337 + themeFile = "Catppuccin-Mocha"; font = { size = 12; package = pkgs.nerdfonts.override {fonts = ["Hack"];};