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 }; }; }