nix-config/home/hyprland/alacritty.nix

49 lines
1004 B
Nix
Raw Normal View History

2025-04-10 11:33:28 +02:00
{ pkgs, ... }:
{
2025-09-03 10:03:29 +02:00
programs.alacritty = {
enable = true;
settings = {
# Font
font = {
normal = {
family = "FiraCode Nerd Font Mono"; # Change to your preferred Nerd Font
style = "Regular";
};
bold = {
family = "FiraCode Nerd Font Mono";
style = "Bold";
};
italic = {
family = "FiraCode Nerd Font Mono";
style = "Italic";
};
size = 11;
};
window = {
opacity = 0.6; # Adjust between 0.0 (fully transparent) and 1.0 (opaque)
padding = {
x = 10;
y = 10;
};
decorations = "full"; # none, transparent, full, buttonless
title = "Alacritty";
dynamic_title = true;
};
2025-04-10 11:33:28 +02:00
2025-09-03 10:03:29 +02:00
};
};
2025-04-10 11:33:28 +02:00
2025-09-03 10:03:29 +02:00
fonts = {
fontconfig = {
enable = true;
defaultFonts = {
monospace = [ "FiraCode Nerd Font Mono" ];
};
};
};
home.packages = with pkgs; [
fira-code-nerdfont
];
2025-04-10 11:33:28 +02:00
}