{ config , pkgs , lib , theme , font , ... }: let fontConfig = { normal = { family = "${font.name}"; style = "Regular"; }; bold = { family = "${font.name}"; style = "Bold"; }; italic = { family = "${font.name}"; style = "Italic"; }; size = 10.0; }; in { programs.alacritty = { enable = true; settings = { env = { TERM = "xterm-256color"; }; window = { padding.x = 20; padding.y = 20; dynamic_padding = true; decorations = "None"; }; font = fontConfig; colors = { primary = { background = "${theme.base00}"; foreground = "${theme.base05}"; }; normal = { black = "${theme.base00}"; red = "${theme.base08}"; green = "${theme.base0B}"; yellow = "${theme.base0A}"; blue = "${theme.base0D}"; magenta = "${theme.base0E}"; cyan = "${theme.base0C}"; white = "${theme.base05}"; }; bright = { black = "${theme.base03}"; red = "${theme.base09}"; green = "${theme.base01}"; yellow = "${theme.base02}"; blue = "${theme.base04}"; magenta = "${theme.base06}"; cyan = "${theme.base0F}"; white = "${theme.base07}"; }; }; }; }; }