nixos/home/alacritty.nix

28 lines
616 B
Nix
Raw Normal View History

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