Skip to content

Commit

Permalink
Fix wezterm on nvidia, at least on yhwach
Browse files Browse the repository at this point in the history
  • Loading branch information
arunoruto committed Dec 15, 2024
1 parent 6d88f5c commit 6da3f24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
# Personal
"isshin" = "mirza"; # Framework Laptop AMD 7040
"zangetsu" = "mirza"; # Framework Case Intel 11th
# "yhwach" = "mirza"; # Tower PC
"yhwach" = "mirza"; # Tower PC
"kuchiki" = "mirza"; # New NAS Server
"yoruichi" = "mirza"; # Crappy AMD Mini PC
"shinji" = "mirza"; # M720q Mini PC
Expand Down
2 changes: 1 addition & 1 deletion modules/home-manager/pc/terminal/wezterm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
-- 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"
}"
config.hide_tab_bar_if_only_one_tab = true
-- config.window_decorations = 'TITLE | RESIZE'
Expand Down

0 comments on commit 6da3f24

Please sign in to comment.