Updated to avoid IFD

This commit is contained in:
alejandro-angulo 2024-08-17 22:28:50 -07:00
parent f41904260b
commit 379f8ae23e
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
4 changed files with 11 additions and 5 deletions

View file

@ -16,7 +16,11 @@ in {
config = mkIf cfg.enable {
programs.kitty = {
enable = true;
catppuccin.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
'';
font = {
size = 12;
package = pkgs.nerdfonts.override {fonts = ["Hack"];};