Files
nixos/henrovnix_ok/home/dev/kitty.nix
T
2026-02-26 10:08:24 +01:00

18 lines
611 B
Nix

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