nixos/home/alacritty/default.nix

23 lines
559 B
Nix

{ pkgs, tokyonight, ... }:
{
home.packages = [ (pkgs.nerdfonts.override { fonts = [ "FiraCode" ]; }) ];
programs.alacritty = {
enable = true;
settings = {
import = [ "${tokyonight}/extras/alacritty/tokyonight_night.yml" ];
window = {
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;
};
};
}