fixup! home/alacritty: enable option_as_alt

This commit is contained in:
Guanran Wang 2024-02-08 22:15:43 +08:00
parent c95939e817
commit 59cb9f8a64
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8

View file

@ -1,9 +1,13 @@
{
lib,
pkgs,
...
}: {
programs.alacritty = {
enable = true;
settings = {
env.WINIT_X11_SCALE_FACTOR = "1"; # workaround for scaling in X11
window.option_as_alt = "Both"; # for zellij on macOS
window.option_as_alt = lib.mkIf pkgs.stdenv.hostPlatform.isDarwin "Both"; # for zellij on macOS
};
};
}