initial commit

This commit is contained in:
2026-04-19 14:58:51 -03:00
parent 3ac4eb5503
commit 5f85583bd0
32 changed files with 2222 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
{ lib, ... }:
{
imports = [
./kitty/kitty.nix
];
options.mods = {
flakePath = lib.mkOption {
type = lib.types.str;
default = lib.mkError "Option 'mods.flakePath' must be explicitly set.";
description = "The absolute path of this flake. Must be explicitly set.";
};
};
}
+69
View File
@@ -0,0 +1,69 @@
include ./theme.conf
wayland_enable_ime no
font_size 10
underline_exclusion 0
cursor_shape beam
cursor_blink_interval 0.3
cursor_trail 3
cursor_trail_decay 0.1 0.4
scrollback_lines 5000
scrollback_pager_history_size 100
show_hyperlink_targets yes
repaint_delay 15
tab_bar_edge top
tab_bar_style powerline
tab_powerline_style slanted
tab_bar_align left
tab_bar_min_tabs 1
active_tab_font_style normal
enabled_layouts fat:bias=60,stack
window_margin_width 2.5
window_border_width 1
draw_minimal_borders no
background_opacity 0.9
allow_remote_control yes
map alt+f5 load_config_file
map alt+minus resize_window narrower
map alt+underline resize_window shorter
map ctrl+alt+minus change_font_size all -0.5
map alt+equal resize_window wider
map alt+plus resize_window taller
map ctrl+alt+equal change_font_size all +0.5
map alt+q close_window_with_confirmation ignore-shell
map alt+shift+q close_tab
map alt+r set_window_title
map alt+shift+r set_tab_title
map alt+u scroll_line_up
map alt+shift+u scroll_to_prompt -1
map alt+p previous_tab
map alt+shift+p detach_window tab-left
map alt+d scroll_line_down
map alt+shift+d scroll_to_prompt 1
map alt+h neighboring_window left
map alt+shift+h move_window left
map alt+j neighboring_window bottom
map alt+shift+j move_window bottom
map alt+k neighboring_window top
map alt+shift+k move_window top
map alt+l neighboring_window right
map alt+shift+l move_window right
map alt+z toggle_layout stack
map ctrl+c copy_or_interrupt
map ctrl+v paste_from_clipboard
map alt+n next_tab
map alt+shift+n detach_window tab-right
map alt+t new_window
map alt+shift+t new_tab
# TODO: detach window to tab-left, and if tab-left doesn't exist create it
+20
View File
@@ -0,0 +1,20 @@
{
config,
lib,
...
}:
{
options.mods.kitty = {
enable = lib.mkEnableOption "kitty";
};
config = lib.mkIf config.mods.kitty.enable {
programs.kitty = {
enable = true;
extraConfig = ''
include ${config.mods.flakePath}/mods/home/kitty/kitty.conf
'';
settings.clear_all_shortcuts = "yes";
};
};
}
+37
View File
@@ -0,0 +1,37 @@
cursor #f4dbe2
cursor_text_color background
url_color #eec6e9
url_style dotted
active_border_color #f4dbe2
inactive_border_color #121622
bell_border_color #efd286
active_tab_foreground #f4dbe2
active_tab_background #121622
inactive_tab_foreground #aeb8d4
inactive_tab_background #060810
foreground #ced4e6
background #060810
transparent_background_colors #121622 #1c2232 #272d41 #313950 #46516f
selection_foreground none
selection_background #46516f
color0 #121622
color1 #ea8f80
color2 #6ac27f
color3 #c7a84d
color4 #92a8eb
color5 #db8ad4
color6 #52bcce
color7 #aeb8d4
color8 #7683a8
color9 #f5b3a7
color10 #7ae092
color11 #e5c25f
color12 #b3c4f5
color13 #eaafe4
color14 #6bd8ea
color15 #ced4e6