make terminal module default module thingy

This commit is contained in:
Schrottkatze 2024-03-05 18:51:30 +01:00
parent 7bacabf0d3
commit 2a5e635c0d
Signed by: schrottkatze
SSH key fingerprint: SHA256:hXb3t1vINBFCiDCmhRABHX5ocdbLiKyCdKI4HK2Rbbc

View file

@ -1,49 +1,36 @@
{ {...}: {
config, environment.sessionVariables = {
lib, TERMINAL = "kitty";
pkgs, };
... home-manager.users.jade = {pkgs, ...}: {
}: let programs.kitty = {
cfg = config.jade.terminal; enable = true;
in font = {
with lib; { name = "FiraCode Nerd Font";
options.jade.terminal = { size = 11;
enable = mkEnableOption "Enable Kitty";
};
config = mkIf cfg.enable {
environment.sessionVariables = rec {
TERMINAL = "kitty";
}; };
home-manager.users.jade = {pkgs, ...}: { settings = {
programs.kitty = { #adjust_column_width = "70%";
enable = true; color0 = "#282828";
font = { color8 = "#928374";
name = "FiraCode Nerd Font"; color1 = "#cc241d";
size = 11; color9 = "#fb4934";
}; color2 = "#98971a";
settings = { color10 = "#b8bb26";
#adjust_column_width = "70%"; color3 = "#d79921";
color0 = "#282828"; color11 = "#fabd2f";
color8 = "#928374"; color4 = "#458588";
color1 = "#cc241d"; color12 = "#83a598";
color9 = "#fb4934"; color5 = "#b16286";
color2 = "#98971a"; color13 = "#d3869b";
color10 = "#b8bb26"; color6 = "#689d6a";
color3 = "#d79921"; color14 = "#8ec07c";
color11 = "#fabd2f"; color7 = "#a89984";
color4 = "#458588"; color15 = "#ebdbb2";
color12 = "#83a598"; foreground = "#ebdbb2";
color5 = "#b16286"; background = "#282828";
color13 = "#d3869b"; confirm_os_window_close = 0;
color6 = "#689d6a";
color14 = "#8ec07c";
color7 = "#a89984";
color15 = "#ebdbb2";
foreground = "#ebdbb2";
background = "#282828";
confirm_os_window_close = 0;
};
};
}; };
}; };
} };
}