2022-09-01 19:48:22 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
let cfg = config.jade.terminal;
|
|
|
|
in with lib; {
|
|
|
|
options.jade.terminal = {
|
|
|
|
enable = mkEnableOption "Enable Kitty";
|
|
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
2023-02-13 12:54:21 +01:00
|
|
|
environment.sessionVariables = rec {
|
|
|
|
TERMINAL = "kitty";
|
|
|
|
};
|
2022-09-01 21:23:12 +02:00
|
|
|
home-manager.users.jade = { pkgs,... } : {
|
2022-09-01 19:48:22 +02:00
|
|
|
programs.kitty = {
|
|
|
|
enable = true;
|
|
|
|
font = {
|
2022-10-02 17:39:04 +02:00
|
|
|
name = "FiraCode Nerd Font";
|
2022-09-01 19:48:22 +02:00
|
|
|
size = 11;
|
|
|
|
};
|
|
|
|
settings = {
|
2022-11-10 19:49:20 +01:00
|
|
|
#adjust_column_width = "70%";
|
2022-09-01 19:48:22 +02:00
|
|
|
color0 = "#282828";
|
|
|
|
color8 = "#928374";
|
|
|
|
color1 = "#cc241d";
|
|
|
|
color9 = "#fb4934";
|
|
|
|
color2 = "#98971a";
|
|
|
|
color10 = "#b8bb26";
|
|
|
|
color3 = "#d79921";
|
|
|
|
color11 = "#fabd2f";
|
|
|
|
color4 = "#458588";
|
|
|
|
color12 = "#83a598";
|
|
|
|
color5 = "#b16286";
|
|
|
|
color13 = "#d3869b";
|
|
|
|
color6 = "#689d6a";
|
|
|
|
color14 = "#8ec07c";
|
|
|
|
color7 = "#a89984";
|
|
|
|
color15 = "#ebdbb2";
|
2022-11-10 19:49:20 +01:00
|
|
|
foreground = "#ebdbb2";
|
|
|
|
background = "#282828";
|
|
|
|
confirm_os_window_close = 0;
|
2022-09-01 19:48:22 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|