Added Catpuccin theme to kitty + transparency

This commit is contained in:
2026-02-25 22:04:38 +01:00
parent aec799281c
commit 2415a8effa
3 changed files with 97 additions and 12 deletions
+10 -6
View File
@@ -2174,7 +2174,7 @@ All the miscellaneous dev tools on this computer.
};
git = {
enable = true;
lfs.enable = true;
lfs.enable = true;henro
};
};
}
@@ -2186,16 +2186,20 @@ Kitty gets installed and configured
{ config, pkgs, lib, flakeRoot, ... }:
let
repoKittyConf = flakeRoot + "/assets/conf/dev/terminal/kitty.conf";
# Use the Catppuccin theme shipped by the catppuccin/kitty repo (mocha flavor).
# (Could also use a file from a package, but keeping it explicit & stable is easiest.)
catppuccinMochaConf = builtins.readFile (flakeRoot + "/assets/conf/dev/terminal/Catppuccin-Mocha.conf");
in
{
xdg.enable = true;
programs.kitty.enable = true;
catppuccin.alacritty.enable = true;
catppuccin.alacritty.flavor = "mocha";
syntaxHighlighting.enable = true;
autosuggestion.enable = true;
enableCompletion = true;
# Single source of truth: kitty.conf from your repo
xdg.configFile."kitty/kitty.conf".source = repoKittyConf;
# Provide a stable include target (no /nix/store paths in kitty.conf)
xdg.configFile."kitty/themes/Catppuccin-Mocha.conf".text = catppuccinMochaConf;
# (Remove these from this module; they don't apply to kitty)
# catppuccin.alacritty.enable = ...
# syntaxHighlighting.enable / autosuggestion.enable / enableCompletion
}
#+end_src