nixcfg/homeManagerModules/apps/alacritty/default.nix
Aly Raffauf 76e6626187
home/theme: remove abstractions and simplify options
* removed gtk and icon theme option abstractions

* home/theme: remove cursorTheme options

* rustboro/home: migrate cursor theme overrides

* home/theme: use config.gtk.font instead of options.nix abstractions

* home/them: dark mode/light mode check for icons

* home/theme: remove terminalFont options

* home: move home.themes.colors.darkMode to home.themes.darkMode

* home/them: improve gnome font settings

* waybar: stay dark even when in light mode
2024-07-03 10:35:39 -04:00

37 lines
850 B
Nix

{
pkgs,
lib,
config,
...
}: {
config = lib.mkIf config.ar.home.apps.alacritty.enable {
programs.alacritty = {
enable = true;
settings = {
colors = {
primary = {
background = "${config.ar.home.theme.colors.background}";
foreground = "${config.ar.home.theme.colors.text}";
};
transparent_background_colors = true;
draw_bold_text_with_bright_colors = true;
};
font = {
normal = {
family = "NotoSansM Nerd Font";
style = "Regular";
};
size = config.gtk.font.size;
};
selection.save_to_clipboard = true;
window = {
blur = true;
decorations = "Full";
dynamic_padding = true;
opacity = 0.8;
};
};
};
};
}