{ pkgs, lib, ... }: { # Include fonts packages home.packages = with pkgs; [ nerdfonts ]; programs.alacritty = { enable = true; settings = { env.TERM = "xterm-256color"; scrolling.history = 3000; font = { normal.family = "FuraCode Nerd Font Mono"; size = 9.0; }; background_opacity = 0.95; mouse = { hide_when_typing = true; hints.modifiers = "Control"; }; colors = with pkgs.extra; { primary = palette.toRgbHex colorPalette.primary; cursor = palette.toRgbHex colorPalette.cursor; vi_mode_cursor = palette.toRgbHex colorPalette.vi_mode_cursor; selection = { text = "CellForeground"; background = color.toRgbHex colorPalette.dim.blue; }; search = { matches = { foreground = "CellForeground"; background = color.toRgbHex colorPalette.dim.cyan; }; bar = { # foreground = "CellForeground"; background = color.toRgbHex colorPalette.dim.yellow; }; }; normal = palette.toRgbHex colorPalette.normal; bright = palette.toRgbHex colorPalette.bright; dim = palette.toRgbHex colorPalette.dim; }; }; }; }