dotfiles/modules/darwin/alacritty.nix

24 lines
485 B
Nix
Raw Normal View History

2022-06-19 13:34:17 +00:00
{ config, pkgs, lib, ... }: {
2022-06-19 12:38:44 +00:00
2022-06-19 13:34:17 +00:00
# MacOS-specific settings for Alacritty
home-manager.users.${config.user} = {
programs.alacritty.settings = {
2022-06-19 14:02:06 +00:00
font.size = lib.mkForce 20.0;
2022-06-19 13:34:17 +00:00
shell.program = "${pkgs.fish}/bin/fish";
key_bindings = [
{
key = "F";
mods = "Super";
action = "ToggleSimpleFullscreen";
}
{
key = "L";
mods = "Super";
chars = "\\x1F";
}
];
};
};
2022-06-19 12:38:44 +00:00
}