summaryrefslogtreecommitdiff
path: root/modules/packages/kitty.nix
diff options
context:
space:
mode:
authorscouckel <james.krinsky@gmail.com>2026-04-02 20:49:34 -0400
committerscouckel <james.krinsky@gmail.com>2026-04-02 20:49:34 -0400
commit50044b7a87bc9f59452855a96a2013c9b000a0a1 (patch)
treec00948706d76ab9b9eceb051c4b1c45d16dc7e3d /modules/packages/kitty.nix
parenteae1e605a04e7e78cac7052a5cc284de5f9ee87f (diff)
big work done
Diffstat (limited to 'modules/packages/kitty.nix')
-rw-r--r--modules/packages/kitty.nix81
1 files changed, 81 insertions, 0 deletions
diff --git a/modules/packages/kitty.nix b/modules/packages/kitty.nix
new file mode 100644
index 0000000..4e204ad
--- /dev/null
+++ b/modules/packages/kitty.nix
@@ -0,0 +1,81 @@
+{
+ self,
+ inputs,
+ ...
+}: {
+ flake.wrapperModules.kitty = {
+ config,
+ lib,
+ ...
+ }: {
+ options.shell = lib.mkOption {
+ type = lib.types.str;
+ default = "";
+ };
+ config.args = lib.mkAfter (lib.optionals (config.shell != "") [config.shell]);
+ config.settings = {
+ font_size = 10;
+ font_family = "JetBrainsMono Nerd Font";
+
+ shell_integration = "enabled";
+ allow_remote_control = "yes";
+
+ # Gruvbox Material Dark Hard
+ background = "#1d2021";
+ foreground = "#d4be98";
+
+ selection_background = "#d4be98";
+ selection_foreground = "#1d2021";
+
+ cursor = "#a89984";
+ cursor_text_color = "background";
+
+ # Black
+ color0 = "#665c54";
+ color8 = "#928374";
+
+ # Red
+ color1 = "#ea6962";
+ color9 = "#ea6962";
+
+ # Green
+ color2 = "#a9b665";
+ color10 = "#a9b665";
+
+ # Yellow
+ color3 = "#e78a4e";
+ color11 = "#d8a657";
+
+ # Blue
+ color4 = "#7daea3";
+ color12 = "#7daea3";
+
+ # Magenta
+ color5 = "#d3869b";
+ color13 = "#d3869b";
+
+ # Cyan
+ color6 = "#89b482";
+ color14 = "#89b482";
+
+ # White
+ color7 = "#d4be98";
+ color15 = "#d4be98";
+
+ # START_AUTOGENERATED_TAB_STYLE
+ # Feel free to update these colors manually and remove these comments.
+ active_tab_foreground = "#444444";
+ active_tab_background = "#d4be98";
+ inactive_tab_foreground = "#d4be98";
+ inactive_tab_background = "#171a1a";
+ };
+ };
+
+ perSystem = {pkgs, ...}: {
+ packages.kitty =
+ (inputs.wrappers.wrapperModules.kitty.apply {
+ inherit pkgs;
+ imports = [self.wrapperModules.kitty];
+ }).wrapper;
+ };
+}