nixcfg/homeManagerModules/apps/alacritty/default.nix
Aly Raffauf 7b1f0f8316
Some checks are pending
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
yank enough to make hosts build with stylix enabled
2024-08-14 22:41:54 -04:00

38 lines
716 B
Nix

{
config,
lib,
...
}: let
cfg = config.ar.home;
in {
config = lib.mkIf cfg.apps.alacritty.enable {
programs.alacritty = {
enable = true;
settings = {
colors = {
draw_bold_text_with_bright_colors = true;
transparent_background_colors = true;
};
font = {
normal = {
family = cfg.theme.monospaceFont.name;
style = "Regular";
};
size = cfg.theme.monospaceFont.size + 1;
};
selection.save_to_clipboard = true;
window = {
blur = true;
decorations = "Full";
dynamic_padding = true;
opacity = 0.6;
};
};
};
};
}