feat: add Alacritty terminal configuration to Home Manager ✨
This commit is contained in:
parent
a88286a64e
commit
5e422e7813
2 changed files with 37 additions and 0 deletions
|
|
@ -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)
|
# TODO: Put user-installed binaries here if you want HM to own them (optional)
|
||||||
# home.packages = with pkgs; [
|
# home.packages = with pkgs; [
|
||||||
# ];
|
# ];
|
||||||
|
|
|
||||||
|
|
@ -63,6 +63,7 @@
|
||||||
fzf
|
fzf
|
||||||
cowsay
|
cowsay
|
||||||
lolcat
|
lolcat
|
||||||
|
alacritty
|
||||||
];
|
];
|
||||||
|
|
||||||
# Keep for darwin as well (tracks defaults across upgrades)
|
# Keep for darwin as well (tracks defaults across upgrades)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue