Removed IFD in kitty

New `themeFile` option supercedes `theme` (and avoids IFD).
This commit is contained in:
alejandro-angulo 2024-09-21 21:57:13 -07:00
parent ad61816639
commit 576f969490
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6

View file

@ -16,11 +16,11 @@ in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
programs.kitty = { programs.kitty = {
enable = true; enable = true;
# Set theme with `extraConfig` instead of `theme` to avoid IFD. # Set theme explicity instead of using catppuccin flake until relevant PR
# See here: https://github.com/nix-community/home-manager/issues/5110 # is merged.
extraConfig = '' #
include ${pkgs.kitty-themes}/share/kitty-themes/themes/Catppuccin-Mocha.conf # https://github.com/catppuccin/nix/pull/337
''; themeFile = "Catppuccin-Mocha";
font = { font = {
size = 12; size = 12;
package = pkgs.nerdfonts.override {fonts = ["Hack"];}; package = pkgs.nerdfonts.override {fonts = ["Hack"];};