dotfiles/nix/modules/home-manager/features/desktop/alacritty.nix
2024-12-05 19:33:06 +00:00

38 lines
614 B
Nix

{
config,
lib,
...
}:
{
options.features.desktop.alacritty.enable = lib.mkEnableOption "Enable Alacritty";
config = lib.mkIf config.features.desktop.alacritty.enable {
programs.alacritty = {
enable = true;
settings = {
env = {
TERM = "screen-256color";
};
window.padding = {
x = 10;
y = 10;
};
font = {
size = 12;
bold.style = "Regular";
normal.family = "Terminess Nerd Font Mono";
};
terminal.shell = {
program = "zsh";
};
};
};
};
}