73 lines
1.8 KiB
Nix
73 lines
1.8 KiB
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
options.speccon18.hm.alacritty.enable = lib.mkEnableOption "Enable Alacritty";
|
|
config = lib.mkIf config.speccon18.hm.alacritty.enable {
|
|
programs.alacritty = {
|
|
enable = true;
|
|
settings = {
|
|
cursor = {
|
|
style = {
|
|
shape = "Beam";
|
|
blinking = "On";
|
|
blink_interval = 75;
|
|
};
|
|
};
|
|
window = {
|
|
dimensions = {
|
|
columns = 120;
|
|
lines = 25;
|
|
};
|
|
decorations = "full";
|
|
opacity = 1.0;
|
|
title = "Alacritty";
|
|
};
|
|
font = {
|
|
normal = {
|
|
family = "SauceCodePro Nerd Font";
|
|
style = "Regular";
|
|
};
|
|
bold = {
|
|
family = "SauceCodePro Nerd Font";
|
|
style = "Bold";
|
|
};
|
|
italic = {
|
|
family = "SauceCodePro Nerd Font";
|
|
style = "Italic";
|
|
};
|
|
size = 14;
|
|
};
|
|
colors = {
|
|
primary = {
|
|
background = "#1d1f21";
|
|
foreground = "#c5c8c6";
|
|
};
|
|
cursor = {
|
|
text = "CellBackground";
|
|
cursor = "CellForeground";
|
|
};
|
|
normal = {
|
|
black = "#363537";
|
|
red = "#FC618D";
|
|
green = "#7BD88F";
|
|
yellow = "#FCE566";
|
|
blue = "#FD9353";
|
|
magenta = "#948AE3";
|
|
cyan = "#5AD4E6";
|
|
white = "#F7F1FF";
|
|
};
|
|
bright = {
|
|
black = "#69676C";
|
|
red = "#FC618D";
|
|
green = "#7BD88F";
|
|
yellow = "#FCE566";
|
|
blue = "#FD9353";
|
|
magenta = "#948AE3";
|
|
cyan = "#5AD4E6";
|
|
white = "#F7F1FF";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|