{ config, pkgs, lib, flakeRoot, ... }: let repoKittyConfPath = flakeRoot + "/assets/conf/dev/terminal/kitty.conf"; repoKittyConfText = builtins.readFile repoKittyConfPath; catppuccinMochaConf = builtins.readFile (flakeRoot + "/assets/conf/dev/terminal/Catppuccin-Mocha.conf"); in { xdg.enable = true; programs.kitty = { enable = true; # Append your repo config into the generated kitty.conf extraConfig = repoKittyConfText; }; # Provide a stable include target (no /nix/store paths in kitty.conf) xdg.configFile."kitty/themes/Catppuccin-Mocha.conf".text = catppuccinMochaConf; }