feat: add Alacritty terminal configuration to Home Manager

This commit is contained in:
DannyDannyDanny 2025-09-11 15:02:31 +02:00
parent a88286a64e
commit 5e422e7813
2 changed files with 37 additions and 0 deletions

View file

@ -121,6 +121,42 @@
];
};
# Alacritty terminal configuration (managed by Home Manager)
programs.alacritty = {
enable = true;
settings = {
window = {
padding = { x = 8; y = 8; };
dynamic_padding = true;
decorations = "buttonless";
opacity = 0.95;
};
scrolling = { history = 10000; multiplier = 3; };
font = {
normal = { family = "JetBrainsMono Nerd Font"; style = "Regular"; };
bold = { family = "JetBrainsMono Nerd Font"; style = "Bold"; };
italic = { family = "JetBrainsMono Nerd Font"; style = "Italic"; };
size = 13.0;
};
cursor = { style = "Block"; unfocused_hollow = true; };
shell = {
program = "${pkgs.fish}/bin/fish";
};
colors = {
# Catppuccin Mocha palette
primary = { background = "0x1e1e2e"; foreground = "0xcdd6f4"; };
normal = {
black = "0x45475a"; red = "0xf38ba8"; green = "0xa6e3a1"; yellow = "0xf9e2af";
blue = "0x89b4fa"; magenta = "0xf5c2e7"; cyan = "0x94e2d5"; white = "0xbac2de";
};
bright = {
black = "0x585b70"; red = "0xf38ba8"; green = "0xa6e3a1"; yellow = "0xf9e2af";
blue = "0x89b4fa"; magenta = "0xf5c2e7"; cyan = "0x94e2d5"; white = "0xa6adc8";
};
};
};
};
# TODO: Put user-installed binaries here if you want HM to own them (optional)
# home.packages = with pkgs; [
# ];