33 lines
952 B
Nix
33 lines
952 B
Nix
{ lib, config, ... }:
|
|
|
|
let
|
|
cfg = config.snowhawk.kitty;
|
|
macos = config.snowhawk.macos.enable;
|
|
in
|
|
{
|
|
options.snowhawk.kitty = {
|
|
enable = lib.mkEnableOption "kitty home-manager module";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
programs.kitty = {
|
|
enable = true;
|
|
shellIntegration.enableFishIntegration = true;
|
|
|
|
settings = {
|
|
font_family = "family=\"JetBrainsMono Nerd Font\" style=\"ExtraLight\"";
|
|
bold_font = "family=\"JetBrainsMono Nerd Font\" style=\"Light\"";
|
|
italic_font = "family=\"JetBrainsMono Nerd Font\" style=\"ExtraLight Italic\"";
|
|
bold_italic_font = "family=\"JetBrainsMono Nerd Font\" style=\"Light Italic\"";
|
|
background = "#050505";
|
|
background_opacity = 0.98;
|
|
font_size = 12;
|
|
|
|
# FIXME: I really should remove this
|
|
allow_remote_control = "yes";
|
|
};
|
|
|
|
extraConfig = "include ${../../home/kitty/alacritty-colors.conf}";
|
|
};
|
|
};
|
|
}
|