flake/home/applications/alacritty/default.nix

24 lines
453 B
Nix
Raw Normal View History

2024-01-15 04:18:06 +00:00
{
lib,
pkgs,
...
}: {
2023-11-28 05:40:22 +00:00
programs.alacritty = {
enable = true;
2024-02-08 04:36:03 +00:00
settings = {
2024-06-14 23:25:48 +00:00
import = [
"${pkgs.vimPlugins.tokyonight-nvim}/extras/alacritty/tokyonight_night.toml"
];
cursor.style = "beam";
font.size = 10;
# workaround for scaling in X11
env.WINIT_X11_SCALE_FACTOR = "1";
# for zellij on macOS
window.option_as_alt = lib.mkIf pkgs.stdenv.hostPlatform.isDarwin "Both";
2024-02-08 04:36:03 +00:00
};
2023-11-28 05:40:22 +00:00
};
}