23 lines
505 B
Nix
23 lines
505 B
Nix
{ pkgs, ... }: {
|
|
programs.wezterm = {
|
|
enable = true;
|
|
package = pkgs.wezterm;
|
|
extraConfig = ''
|
|
local config = wezterm.config_builder()
|
|
|
|
config.front_end = "OpenGL"
|
|
config.enable_tab_bar = false
|
|
config.max_fps = 60
|
|
config.animation_fps = 60
|
|
config.enable_wayland = true
|
|
|
|
return config
|
|
'';
|
|
};
|
|
|
|
# I'm not sure why, but this removes the annoying input
|
|
# delay from wezterm.
|
|
home.sessionVariables = {
|
|
__GL_SYNC_TO_VBLANK = "0";
|
|
};
|
|
}
|