kitty from dotfiles to nix

This commit is contained in:
smayzy
2025-07-06 19:54:10 +02:00
parent be209dd6ee
commit b4ad24bb0b
3 changed files with 30 additions and 13 deletions
+27
View File
@@ -0,0 +1,27 @@
{ config, lib, pkgs, ... }:
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;
};
};
};
}