nixos/home/modules/alacritty.nix

44 lines
916 B
Nix
Raw Normal View History

{ lib, config, ... }:
2024-05-29 23:34:10 -07:00
2024-05-29 20:50:00 -07:00
let
cfg = config.snowhawk.alacritty;
in
2024-05-29 19:58:14 -07:00
{
2024-05-29 20:50:00 -07:00
options.snowhawk.alacritty = {
enable = lib.mkEnableOption "alacritty";
};
config = lib.mkIf cfg.enable {
programs.alacritty = {
enable = true;
settings = {
window = {
opacity = 0.98;
2024-05-29 19:58:14 -07:00
};
2024-05-31 04:00:55 -07:00
colors = {
primary.background = "#050505";
};
2024-05-29 20:50:00 -07:00
font = {
2024-05-31 04:00:55 -07:00
size = 12.0;
2024-05-29 20:50:00 -07:00
normal = {
family = "JetBrainsMono Nerd Font";
style = "Regular";
};
bold = {
family = "JetBrainsMono Nerd Font";
2024-05-30 22:01:14 -07:00
style = "SemiBold";
2024-05-29 20:50:00 -07:00
};
italic = {
family = "JetBrainsMono Nerd Font";
style = "Italic";
};
2024-05-30 22:01:14 -07:00
bold_italic = {
family = "JetBrainsMono Nerd Font";
style = "SemiBold Italic";
};
2024-05-29 19:58:14 -07:00
};
};
};
};
}