nixos/home/alacritty/default.nix
Evie Litherland-Smith efa0909c15 Switch to alacritty
Replace wezterm as it was setting extra shell variables that messed up
emacs internal terminal.

Add config to alacritty
2023-08-07 09:19:09 +01:00

29 lines
679 B
Nix

{ pkgs, tokyonight, ... }:
{
home.packages = [ (pkgs.nerdfonts.override { fonts = [ "FiraCode" ]; }) ];
programs.alacritty = {
enable = true;
settings = {
import = [ "${tokyonight}/extras/alacritty/tokyonight_night.yml" ];
window = {
padding = {
x = 10;
y = 10;
};
decorations = "none";
opacity = 0.8;
dynamic_title = true;
decorations_theme_variant = "Dark";
};
font = {
normal.family = "FiraCode Nerd Font";
size = 14.0;
};
selection.save_to_clipboard = true;
live_config_reload = true;
mouse.hide_when_typing = true;
};
};
}