2022-07-25 13:31:09 +02:00
|
|
|
# Module that adds my terminal emulator of choice to my environment.
|
|
|
|
|
2022-01-12 00:20:57 +01:00
|
|
|
{ pkgs, lib, config, ... }:
|
2022-01-10 19:25:34 +01:00
|
|
|
|
2022-07-25 13:31:09 +02:00
|
|
|
let gui = config.custom.gui; in
|
2022-05-15 21:01:45 +02:00
|
|
|
|
2022-07-25 13:31:09 +02:00
|
|
|
with lib; mkIf (gui.enable) {
|
|
|
|
|
|
|
|
home-manager.users."riley".programs.kitty = {
|
2022-05-15 21:01:45 +02:00
|
|
|
|
2022-07-25 13:31:09 +02:00
|
|
|
# Use kitty because it supports cool ligatures and
|
|
|
|
# has nice scripting capabilities.
|
|
|
|
enable = true;
|
2022-05-19 19:58:26 +02:00
|
|
|
|
2022-07-25 13:31:09 +02:00
|
|
|
font = {
|
|
|
|
name = "Fira Code";
|
|
|
|
size = 11;
|
|
|
|
};
|
|
|
|
|
|
|
|
settings = with gui.theme.hex; {
|
2022-05-15 21:01:45 +02:00
|
|
|
|
2022-07-25 13:31:09 +02:00
|
|
|
bold_font = "Fira Code Medium";
|
|
|
|
|
|
|
|
background = background.primary;
|
|
|
|
foreground = foreground.primary;
|
2022-05-15 21:01:45 +02:00
|
|
|
|
2022-07-25 13:31:09 +02:00
|
|
|
color1 = red.normal;
|
|
|
|
color9 = red.bright;
|
2022-05-15 21:01:45 +02:00
|
|
|
|
2022-07-25 13:31:09 +02:00
|
|
|
color2 = green.normal;
|
|
|
|
color10 = green.bright;
|
2022-05-15 21:01:45 +02:00
|
|
|
|
2022-07-25 13:31:09 +02:00
|
|
|
color3 = yellow.normal;
|
|
|
|
color11 = yellow.bright;
|
2022-05-15 21:01:45 +02:00
|
|
|
|
2022-07-25 13:31:09 +02:00
|
|
|
color4 = blue.normal;
|
|
|
|
color12 = blue.bright;
|
2022-05-15 21:01:45 +02:00
|
|
|
|
2022-07-25 13:31:09 +02:00
|
|
|
color5 = purple.normal;
|
|
|
|
color13 = purple.bright;
|
2022-05-15 21:01:45 +02:00
|
|
|
|
2022-07-25 13:31:09 +02:00
|
|
|
color6 = cyan.normal;
|
|
|
|
color14 = cyan.bright;
|
|
|
|
|
|
|
|
};
|
2022-01-10 19:25:34 +01:00
|
|
|
};
|
2022-07-25 13:31:09 +02:00
|
|
|
|
|
|
|
}
|