nixos/modules/home/kitty.nix

26 lines
422 B
Nix

{
lib,
osConfig,
pkgs,
...
}:
with lib;
let
cfg = osConfig.modules.hyprland;
in
{
config = mkIf (cfg.terminal == "kitty") {
programs.kitty = {
enable = true;
package = pkgs.kitty;
settings = {
scrollback_lines = 10000;
shell_integration = true;
};
extraConfig = ''
# Clipboard
map ctrl+shift+v paste_from_selection
'';
};
};
}