Files
nixos/henrovnix_ok/home/dev/kitty.nix
T
2026-02-26 00:09:29 +01:00

14 lines
574 B
Nix

{ 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;
}