nixcfg/homes/aarch64-darwin/harald@m4/default.nix
Harald Hoyer e14826fefc Set JetBrainsMono as default font in Alacritty config
Updated the Alacritty configuration to use JetBrainsMono for all font styles (normal, bold, italic, and bold italic). This ensures a consistent and visually appealing font across the terminal. Font size remains unchanged at 17.
2024-12-12 17:52:10 +01:00

49 lines
991 B
Nix

{
lib,
pkgs,
config,
...
}:
{
home = {
username = "harald";
homeDirectory = "/Users/${config.home.username}";
stateVersion = "23.11"; # Please read the comment before changing.
};
programs.ssh.extraConfig = ''
#UseKeychain yes
#AddKeysToAgent yes
IdentityFile ~/.ssh/id_ed25519
'';
metacfg = {
cli-apps = {
bash.enable = true;
fish.enable = true;
neovim.enable = true;
bat.enable = true;
starship.enable = true;
#home-manager.enable = true;
};
tools = {
#direnv.enable = true;
ssh.enable = true;
git.enable = true;
};
};
xdg.configFile."alacritty/alacritty.toml".source =
(pkgs.formats.toml { }).generate "alacritty-config"
{
font = {
normal.family = "JetBrainsMono";
bold.family = "JetBrainsMono";
italic.family = "JetBrainsMono";
bold_italic.family = "JetBrainsMono";
size = 17;
};
};
}