mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-29 18:49:17 -05:00
37 lines
805 B
Nix
37 lines
805 B
Nix
|
{ pkgs, lib, config, ... }: {
|
||
|
|
||
|
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";
|
||
|
};
|
||
|
draw_bold_text_with_bright_colors = true;
|
||
|
};
|
||
|
font = {
|
||
|
normal = {
|
||
|
family = "NotoSansM Nerd Font";
|
||
|
style = "Regular";
|
||
|
};
|
||
|
size = 10;
|
||
|
};
|
||
|
selection.save_to_clipboard = true;
|
||
|
window = {
|
||
|
blur = true;
|
||
|
# decorations = "None";
|
||
|
dynamic_padding = true;
|
||
|
opacity = 0.8;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|
||
|
|