{ 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; # Provide a stable include target (no /nix/store paths in kitty.conf) xdg.configFile."kitty/themes/Catppuccin-Mocha.conf".text = catppuccinMochaConf; }