refactor works on lio host
This commit is contained in:
parent
1d9c4beaf3
commit
f0c096edec
73 changed files with 2214 additions and 1091 deletions
65
common/_home_manager/mods/kitty.nix
Normal file
65
common/_home_manager/mods/kitty.nix
Normal file
|
@ -0,0 +1,65 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
options.components.kitty = {
|
||||
font_size = lib.mkOption {
|
||||
type = lib.types.float;
|
||||
default = 12.0;
|
||||
description = "Font size for Kitty terminal";
|
||||
};
|
||||
};
|
||||
config = {
|
||||
# Enable Kitty terminal
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
# Window settings
|
||||
background_opacity = 1.0;
|
||||
os_window_class = "kitty";
|
||||
remember_window_size = false;
|
||||
placement_strategy = "center";
|
||||
initial_window_width = "160c";
|
||||
initial_window_height = "55c";
|
||||
|
||||
# Remove window borders
|
||||
hide_window_decorations = "titlebar-only";
|
||||
tab_title_template = "none";
|
||||
active_tab_title_template = "none";
|
||||
draw_minimal_borders = "yes";
|
||||
window_border_width = "0.1pt";
|
||||
|
||||
# Colors (Catppuccin Coal)
|
||||
foreground = "#e0e0e0";
|
||||
background = "#262626";
|
||||
color0 = "#1f1f1f";
|
||||
color1 = "#f38ba8";
|
||||
color2 = "#a6e3a1";
|
||||
color3 = "#f9e2af";
|
||||
color4 = "#89b4fa";
|
||||
color5 = "#cba6f7";
|
||||
color6 = "#89dceb";
|
||||
color7 = "#e0e0e0";
|
||||
color8 = "#565656";
|
||||
color9 = "#f38ba8";
|
||||
color10 = "#a6e3a1";
|
||||
color11 = "#f9e2af";
|
||||
color12 = "#89b4fa";
|
||||
color13 = "#cba6f7";
|
||||
color14 = "#89dceb";
|
||||
color15 = "#ffffff";
|
||||
|
||||
# Font settings
|
||||
font_family = "JetBrainsMonoNL Nerd Font";
|
||||
font_size = config.components.kitty.font_size;
|
||||
bold_font = "auto";
|
||||
italic_font = "auto";
|
||||
italic_bold_font = "auto";
|
||||
};
|
||||
|
||||
# If you want to include extra configuration this way instead of through the main `settings` attribute
|
||||
extraConfig = ''
|
||||
# You can add additional config here if needed
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue