From 59cb9f8a6424667c4f2f25ba6cd0d83980709fbd Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Thu, 8 Feb 2024 22:15:43 +0800 Subject: [PATCH] fixup! home/alacritty: enable option_as_alt --- home/applications/alacritty/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/home/applications/alacritty/default.nix b/home/applications/alacritty/default.nix index b660609..4220518 100644 --- a/home/applications/alacritty/default.nix +++ b/home/applications/alacritty/default.nix @@ -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 }; }; }