nix/modules/stuff/alacritty.nix

53 lines
1.3 KiB
Nix

{ lib, pkgs, config, ... }: let
inherit (lib) mkIf mkEnableOption;
cfg = config.chuj.stuff.alacritty;
in {
options.chuj.stuff.alacritty = {
enable = mkEnableOption "alacritty";
};
config = mkIf cfg.enable {
home-manager.users.krizej.programs.alacritty = {
package = pkgs.alacritty-sixel;
enable = true;
settings = {
font.size = 10;
window.padding = { x = 2; y = 2; };
cursor = {
style = {
shape = "Beam";
blinking = "On";
};
blink_timeout = 0;
unfocused_hollow = false;
};
colors = {
primary = {
foreground = "#e4e4ef";
background = "#181818";
};
normal = {
black = "#202020";
red = "#f43841";
green = "#73c936";
yellow = "#ffdd33";
blue = "#5a81ce";
magenta = "#ae65b7";
cyan = "#71afcf";
white = "#dddddd";
};
bright = {
black = "#282828";
red = "#ff4f58";
green = "#91d956";
yellow = "#ffee55";
blue = "#71afe8";
magenta = "#ce85e7";
cyan = "#91dfef";
white = "#f4f4ff";
};
};
};
};
};
}