nixos/home/alacritty.nix

62 lines
1.3 KiB
Nix

{ config, lib, pkgs, ... }:
{
programs.alacritty = {
enable = true;
settings = {
window = {
dynamic_title = true;
padding = {
x = 10;
y = 10;
};
decorations = "none";
opacity = 0.8;
};
font = {
normal.family = "FiraMono Nerd Font";
size = 14.0;
};
selection.save_to_clipboard = true;
live_config_reload = true;
mouse.hide_when_typing = true;
colors = {
primary = {
background = "#0d0e1c";
foreground = "#c0caf5";
};
normal = {
black = "#15161e";
red = "#f7768e";
green = "#9ece6a";
yellow = "#e0af68";
blue = "#7aa2f7";
magenta = "#bb9af7";
cyan = "#7dcfff";
white = "#a9b1d6";
};
bright = {
black = "#414868";
red = "#f7768e";
green = "#9ece6a";
yellow = "#e0af68";
blue = "#7aa2f7";
magenta = "#bb9af7";
cyan = "#7dcfff";
white = "#c0caf5";
};
indexed_colors = [
{
index = 16;
color = "#ff9e64";
}
{
index = 17;
color = "#db4b4b";
}
];
};
};
};
}