20 lines
598 B
Nix
20 lines
598 B
Nix
{ config, pkgs, lib, user, flakeRoot, ... }:
|
|
let
|
|
kittyConfigDir = "${config.home-manager.users.${user.username}.xdg.configHome}/kitty";
|
|
in
|
|
{
|
|
home-manager.users.${user.username} = {
|
|
programs.kitty = {
|
|
enable = true;
|
|
};
|
|
|
|
# Copy the actual kitty.conf (not a symlink)
|
|
xdg.configFile."kitty/kitty.conf".text = lib.concatStringsSep "\n" [
|
|
(builtins.readFile "${flakeRoot}/assets/system/conf/kitty/kitty.conf")
|
|
];
|
|
|
|
# Copy the theme file
|
|
xdg.configFile."kitty/Catppuccin-Mocha.conf".source = "${flakeRoot}/assets/system/conf/kitty/Catppuccin-Mocha.conf";
|
|
};
|
|
}
|