2022-10-15 04:37:14 -04:00
|
|
|
{ config, lib, pkgs, inputs, ... }:
|
|
|
|
let nathan = config.nathan;
|
|
|
|
in with lib; {
|
|
|
|
config = mkIf nathan.programs.alacritty {
|
|
|
|
home.packages = with pkgs;
|
|
|
|
[
|
|
|
|
# Terminal
|
|
|
|
alacritty
|
|
|
|
];
|
|
|
|
#########################
|
|
|
|
## Alacritty
|
|
|
|
#########################
|
|
|
|
programs.alacritty = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
env = {
|
|
|
|
TERM = "xterm-256color";
|
|
|
|
ALACRITTY = "1";
|
|
|
|
};
|
|
|
|
font = {
|
2023-05-30 09:18:20 -04:00
|
|
|
normal.family = "Iosevka Nerd Font";
|
|
|
|
bold.family = "Iosevka Nerd Font";
|
|
|
|
italic.family = "Iosevka Nerd Font";
|
|
|
|
bold_italic.family = "Iosevka Nerd Font";
|
2022-10-15 04:37:14 -04:00
|
|
|
# Bigger on darwin
|
2023-03-14 12:42:56 -04:00
|
|
|
size = if pkgs.stdenv.isLinux then 10.0 else 12.0;
|
2022-10-15 04:37:14 -04:00
|
|
|
};
|
2023-06-16 23:50:43 -04:00
|
|
|
window = { opacity = 0.9; };
|
2022-10-15 04:37:14 -04:00
|
|
|
colors = {
|
|
|
|
primary = {
|
2022-11-09 21:30:14 -05:00
|
|
|
background = "0x181818";
|
|
|
|
foreground = "0xb9b9b9";
|
2022-10-15 04:37:14 -04:00
|
|
|
};
|
|
|
|
normal = {
|
2022-11-09 21:30:14 -05:00
|
|
|
black = "0x252525";
|
|
|
|
red = "0xed4a46";
|
|
|
|
green = "0x70b433";
|
2022-10-15 04:37:14 -04:00
|
|
|
yellow = "0xdbb32d";
|
2022-11-09 21:30:14 -05:00
|
|
|
blue = "0x368aeb";
|
|
|
|
magenta = "0xeb6eb7";
|
|
|
|
cyan = "0x3fc5b7";
|
|
|
|
white = "0xdedede";
|
2022-10-15 04:37:14 -04:00
|
|
|
};
|
|
|
|
bright = {
|
2022-11-09 21:30:14 -05:00
|
|
|
black = "0x252525";
|
|
|
|
red = "0xed4a46";
|
|
|
|
green = "0x70b433";
|
|
|
|
yellow = "0xdbb32d";
|
|
|
|
blue = "0x368aeb";
|
|
|
|
magenta = "0xeb6eb7";
|
|
|
|
cyan = "0x3fc5b7";
|
|
|
|
white = "0xdedede";
|
2022-10-15 04:37:14 -04:00
|
|
|
};
|
2023-06-16 23:50:43 -04:00
|
|
|
transparent_background_colors = true;
|
2022-10-15 04:37:14 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|