83 lines
1.9 KiB
Nix
83 lines
1.9 KiB
Nix
{ pkgs, ... }:
|
|
let
|
|
nord = import ../configs/themes/nord.nix;
|
|
in {
|
|
# Include fonts packages
|
|
home.packages = with pkgs; [ nerdfonts ];
|
|
programs.alacritty = {
|
|
enable = true;
|
|
settings = {
|
|
scrolling.history = 3000;
|
|
font = {
|
|
normal.family = "FuraCode Nerd Font";
|
|
size = 9.0;
|
|
};
|
|
background_opacity = 0.95;
|
|
mouse = {
|
|
hide_when_typing = true;
|
|
url.modifiers = "Control";
|
|
};
|
|
|
|
# NORD Theme: https://github.com/arcticicestudio/nord-alacritty
|
|
colors = {
|
|
primary = {
|
|
background = nord.n0;
|
|
foreground = nord.n6;
|
|
dim_foreground = nord.n4;
|
|
};
|
|
cursor = {
|
|
text = nord.n0;
|
|
cursor = nord.n4;
|
|
};
|
|
vi_mode_cursor = {
|
|
text = nord.n0;
|
|
cursor = nord.n4;
|
|
};
|
|
selection = {
|
|
text = "CellForeground";
|
|
background = nord.n3;
|
|
};
|
|
search = {
|
|
matches = {
|
|
foreground = "CellForeground";
|
|
background = nord.n8;
|
|
};
|
|
bar = {
|
|
background = nord.n2;
|
|
foreground = nord.n4;
|
|
};
|
|
};
|
|
normal = {
|
|
black = nord.n0;
|
|
red = nord.n11;
|
|
green = nord.n14;
|
|
yellow = nord.n13;
|
|
blue = nord.n9;
|
|
magenta = nord.n15;
|
|
cyan = nord.n9;
|
|
white = nord.n5;
|
|
};
|
|
bright = {
|
|
black = nord.n3;
|
|
red = nord.n11;
|
|
green = nord.n14;
|
|
yellow = nord.n13;
|
|
blue = nord.n9;
|
|
magenta = nord.n15;
|
|
cyan = nord.n8;
|
|
white = nord.n6;
|
|
};
|
|
dim = {
|
|
black = "#373e4d";
|
|
red = "#94545d";
|
|
green = "#809575";
|
|
yellow = "#b29e75";
|
|
blue = "#68809a";
|
|
magenta = "#8c738c";
|
|
cyan = "#6d96a5";
|
|
white = nord.n4;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|