Removed IFD in kitty
New `themeFile` option supercedes `theme` (and avoids IFD).
This commit is contained in:
parent
ad61816639
commit
576f969490
|
@ -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"];};
|
||||||
|
|
Loading…
Reference in a new issue