mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 11:43:55 -05:00
37 lines
905 B
Nix
37 lines
905 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}: {
|
|
config = lib.mkIf config.alyraffauf.apps.alacritty.enable {
|
|
programs.alacritty = {
|
|
enable = true;
|
|
settings = {
|
|
colors = {
|
|
primary = {
|
|
background = "${config.alyraffauf.theme.colors.background}";
|
|
foreground = "${config.alyraffauf.theme.colors.text}";
|
|
};
|
|
transparent_background_colors = true;
|
|
draw_bold_text_with_bright_colors = true;
|
|
};
|
|
font = {
|
|
normal = {
|
|
family = "${config.alyraffauf.theme.terminalFont.name}";
|
|
style = "Regular";
|
|
};
|
|
size = config.alyraffauf.theme.terminalFont.size;
|
|
};
|
|
selection.save_to_clipboard = true;
|
|
window = {
|
|
blur = true;
|
|
decorations = "Full";
|
|
dynamic_padding = true;
|
|
opacity = 0.8;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|