From acda9bb1af2da6c736f42676c96ee5d690421b7d Mon Sep 17 00:00:00 2001 From: Mirza Arnaut Date: Mon, 16 Dec 2024 00:46:23 +0100 Subject: [PATCH] WezTerm: use OpenGL only with Madara, else WebGPU --- modules/home-manager/pc/terminal/wezterm.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/home-manager/pc/terminal/wezterm.nix b/modules/home-manager/pc/terminal/wezterm.nix index 82bceae..8589359 100644 --- a/modules/home-manager/pc/terminal/wezterm.nix +++ b/modules/home-manager/pc/terminal/wezterm.nix @@ -21,7 +21,8 @@ -- config.front_end = "WebGpu" -- config.enable_wayland = true config.front_end = "${ - if ((args ? nixosConfig) && (!osConfig.hosts.nvidia.enable)) then "OpenGL" else "WebGpu" + # if ((args ? nixosConfig) && (!osConfig.hosts.nvidia.enable)) then "OpenGL" else "WebGpu" + if ((args ? nixosConfig) && (osConfig.networking.hostName == "madara")) then "OpenGL" else "WebGpu" }" config.hide_tab_bar_if_only_one_tab = true -- config.window_decorations = 'TITLE | RESIZE'