nixos-config/modules/home-manager/alacritty.nix

51 lines
1.2 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 = {
window = {
dimensions = {
columns = 120;
lines = 25;
};
decorations = "full";
opacity = 1.0;
title = "Alacritty";
};
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";
};
};
};
};
};
}