60 lines
1.3 KiB
Nix
60 lines
1.3 KiB
Nix
{ config, pkgs, lib, user, ... }:
|
|
let
|
|
kittyConfigDir = "${config.home-manager.users.${user.username}.xdg.configHome}/kitty";
|
|
in
|
|
{
|
|
home-manager.users.${user.username} = {
|
|
programs.kitty = {
|
|
enable = true;
|
|
settings = {
|
|
font_family = "JetBrainsMono Nerd Font";
|
|
font_size = 12.0;
|
|
cursor = "Beam";
|
|
cursor_blink_interval = -1;
|
|
shell = "${pkgs.zsh}/bin/zsh";
|
|
};
|
|
};
|
|
|
|
# Catppuccin Mocha theme for Kitty (embedded)
|
|
xdg.configFile."kitty/kitty.conf".text = lib.concatStringsSep "\n" [
|
|
"# Catppuccin Mocha theme"
|
|
"background #1e1e2e"
|
|
"foreground #cdd6f4"
|
|
"selection_background #f5e0dc"
|
|
"selection_foreground #1e1e2e"
|
|
"url_color #f5e0dc"
|
|
"cursor #f5e0dc"
|
|
"cursor_text_color #1e1e2e"
|
|
|
|
"color0 #45475a"
|
|
"color8 #585b70"
|
|
|
|
"color1 #f38ba8"
|
|
"color9 #f38ba8"
|
|
|
|
"color2 #a6e3a1"
|
|
"color10 #a6e3a1"
|
|
|
|
"color3 #f9e2af"
|
|
"color11 #f9e2af"
|
|
|
|
"color4 #89b4fa"
|
|
"color12 #89b4fa"
|
|
|
|
"color5 #f5c2e7"
|
|
"color13 #f5c2e7"
|
|
|
|
"color6 #94e2d5"
|
|
"color14 #94e2d5"
|
|
|
|
"color7 #bac2de"
|
|
"color15 #bac2de"
|
|
|
|
"# Window settings"
|
|
"background_opacity 0.9"
|
|
"font_size 12.0"
|
|
"cursor_shape Beam"
|
|
];
|
|
};
|
|
}
|