nixcfg/homeManagerModules/guiApps/alacritty/default.nix

41 lines
859 B
Nix
Raw Normal View History

2024-04-07 22:16:33 -04:00
{
pkgs,
lib,
config,
...
}: {
2024-03-28 19:52:15 -04:00
options = {
guiApps.alacritty.enable = lib.mkEnableOption "Enables alacritty.";
};
config = lib.mkIf config.guiApps.alacritty.enable {
programs.alacritty = {
enable = true;
settings = {
colors = {
primary = {
foreground = "#fafafa";
background = "#232634";
};
2024-04-01 00:02:18 -04:00
transparent_background_colors = true;
2024-03-28 19:52:15 -04:00
draw_bold_text_with_bright_colors = true;
};
font = {
normal = {
family = "NotoSansM Nerd Font";
style = "Regular";
};
2024-04-01 00:02:18 -04:00
size = 11;
2024-03-28 19:52:15 -04:00
};
selection.save_to_clipboard = true;
window = {
blur = true;
# decorations = "None";
dynamic_padding = true;
opacity = 0.8;
};
};
};
};
}