{ 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). catppuccinMochaConf = builtins.readFile (flakeRoot + "/assets/conf/dev/terminal/Catppuccin-Mocha.conf"); in { xdg.enable = true; programs.kitty.enable = true; # Provide a stable include target (no /nix/store paths in kitty.conf) xdg.configFile."kitty/themes/Catppuccin-Mocha.conf".text = catppuccinMochaConf; xdg.configFile."kitty/kitty.conf".text = repoKittyConf; }