NixOS/home/modules/hyprland/alacritty.nix

35 lines
811 B
Nix
Raw Permalink Normal View History

2024-06-12 09:54:11 +07:00
{ lib, config, ... }:
let
cfg = config.profile.hyprland;
in
{
config = lib.mkIf cfg.enable {
programs.alacritty = {
enable = true;
settings = {
import = [ "${config.home.homeDirectory}/.cache/wallust/alacritty.toml" ];
2024-06-12 09:54:11 +07:00
live_config_reload = true;
font = {
normal = {
family = "JetBrainsMono Nerd Font";
style = "Regular";
};
italic = {
family = "JetBrainsMono Nerd Font";
style = "Italic";
};
bold = {
family = "JetBrainsMono Nerd Font";
style = "Bold";
};
bold_italic = {
family = "JetBrainsMono Nerd Font";
style = "Bold Italic";
};
size = 11.0;
};
};
};
};
}