nix-config/modules/home-manager/terminal/kitty.nix
smayzy 412ce8623a
All checks were successful
nix flake show / show-flake (push) Successful in 27s
clean hm modules
2025-07-24 18:45:11 +02:00

33 lines
861 B
Nix

{ config, lib, ... }:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.kitty.enable = mkOption {
type = types.bool;
default = false;
description = "kitty config";
};
config = mkIf config.smayzy.kitty.enable {
programs.kitty = {
enable = true;
settings = {
cursor = "#c7c7c7";
cursor_text_color = "#feffff";
selection_foreground = "#3e3e3e";
selection_background = "#c1ddff";
foreground = "#c8c8c8";
background = "#323232";
background_opacity = 0.8;
confirm_os_window_close = 0;
font_family = "JetBrainsMono Nerd Font";
bold_font = "JetBrainsMono Nerd Font Bold";
italic_font = "JetBrainsMono Nerd Font Italic";
bold_italic_font = "JetBrainsMono Nerd Font Bold Italic";
font_size = 10.0;
};
};
};
}