nixos/home/modules/alacritty.nix
Zynh Ludwig 6c4d4263f7 remove shell config
it just works on its own
2024-06-27 16:22:47 -07:00

43 lines
916 B
Nix

{ lib, config, ... }:
let
cfg = config.snowhawk.alacritty;
in
{
options.snowhawk.alacritty = {
enable = lib.mkEnableOption "alacritty";
};
config = lib.mkIf cfg.enable {
programs.alacritty = {
enable = true;
settings = {
window = {
opacity = 0.98;
};
colors = {
primary.background = "#050505";
};
font = {
size = 12.0;
normal = {
family = "JetBrainsMono Nerd Font";
style = "Regular";
};
bold = {
family = "JetBrainsMono Nerd Font";
style = "SemiBold";
};
italic = {
family = "JetBrainsMono Nerd Font";
style = "Italic";
};
bold_italic = {
family = "JetBrainsMono Nerd Font";
style = "SemiBold Italic";
};
};
};
};
};
}