nixos-config/home-manager/shell/alacritty.nix
Kiana Sheibani 48792e9514 Don't use nerd font in terminal
Nerd fonts tend to mess with text dimensions, so let's not do that.
2024-05-11 19:18:24 -04:00

48 lines
1.1 KiB
Nix

{ config, pkgs, ... }:
{
programs.alacritty = {
enable = true;
settings = {
window.opacity = 0.9;
# Based on the Tokyo Night theme
colors.primary = {
foreground = "#a9b1d6";
background = "#1a1b26";
};
colors.normal = {
black = "#32344a";
red = "#ce7284";
green = "#7dc5a0";
yellow = "#caaa6a";
blue = "#7bc5e4";
magenta = "#ad8ee6";
cyan = "#449dab";
white = "#787c99";
};
colors.bright = {
black = "#444b6a";
red = "#d5556f";
green = "#b9f27c";
yellow = "#ff9e64";
blue = "#7da6ff";
magenta = "#bb9af7";
cyan = "#0db9d7";
white = "#acb0d0";
};
font =
let family = "VictorMono";
font-style = style: { inherit family style; };
in {
normal = font-style "Regular";
bold = font-style "Bold";
italic = font-style "Italic";
bold_italic = font-style "Bold Italic";
size = 11;
};
};
};
}