372a4de5c2
Note: not the actual initial commit. I swear I will stop repeatedly force pushing to this single commit eventually ok.
29 lines
579 B
Nix
29 lines
579 B
Nix
{ config, lib, ... }:
|
|
|
|
let
|
|
cfg = config.my.graphical.kitty;
|
|
in {
|
|
options.my.graphical.kitty = {
|
|
enable = lib.mkEnableOption null;
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
programs.kitty = {
|
|
enable = true;
|
|
theme = "Catppuccin-Mocha";
|
|
font = {
|
|
name = "JetBrainsMono Nerd Font";
|
|
size = 11;
|
|
};
|
|
keybindings = {
|
|
"ctrl+backspace" = "send_text all \\x1b\\x7f";
|
|
};
|
|
settings = {
|
|
window_margin_width = 5;
|
|
focus_follows_mouse = "yes";
|
|
shell_integration = "no-cursor";
|
|
};
|
|
};
|
|
};
|
|
}
|