37 lines
738 B
Nix
37 lines
738 B
Nix
{ pkgs, 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 = {
|
|
shell = "${pkgs.fish}/bin/fish";
|
|
window = {
|
|
opacity = 0.98;
|
|
};
|
|
font = {
|
|
normal = {
|
|
family = "JetBrainsMono Nerd Font";
|
|
style = "Regular";
|
|
};
|
|
bold = {
|
|
family = "JetBrainsMono Nerd Font";
|
|
style = "Bold";
|
|
};
|
|
italic = {
|
|
family = "JetBrainsMono Nerd Font";
|
|
style = "Italic";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|