22 lines
600 B
Nix
22 lines
600 B
Nix
{ config, pkgs, lib, flakeRoot, ... }:
|
|
let
|
|
repoKittyConfText =
|
|
builtins.readFile (flakeRoot + "/assets/conf/dev/terminal/kitty.conf");
|
|
|
|
catppuccinMochaConf =
|
|
builtins.readFile (flakeRoot + "/assets/conf/dev/terminal/Catppuccin-Mocha.conf");
|
|
in
|
|
{
|
|
xdg.enable = true;
|
|
|
|
programs.kitty = {
|
|
enable = true;
|
|
|
|
# Put your repo config into kitty.conf (appended to HM-generated file)
|
|
extraConfig = repoKittyConfText;
|
|
};
|
|
|
|
# stable include target (so your repo kitty.conf can "include themes/…")
|
|
xdg.configFile."kitty/themes/Catppuccin-Mocha.conf".text = catppuccinMochaConf;
|
|
}
|