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

14 lines
605 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).
# (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;
}