flake/home/applications/alacritty/default.nix

14 lines
277 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 = {
env.WINIT_X11_SCALE_FACTOR = "1"; # workaround for scaling in X11
window.option_as_alt = lib.mkIf pkgs.stdenv.hostPlatform.isDarwin "Both"; # for zellij on macOS
2024-02-08 04:36:03 +00:00
};
2023-11-28 05:40:22 +00:00
};
}