MyNixOS website logo

Configuration written to $XDG_CONFIG_HOME/wezterm/wezterm.lua using lib.generators.toLua. Values created with lib.generators.mkLuaInline are rendered as raw Lua expressions, which allows embedding wezterm API calls such as wezterm.font. See https://wezfurlong.org/wezterm/config/files.html for available options.

When this option is set, extraConfig is still supported. Any table returned from the extra Lua code is merged on top of these settings, so extraConfig takes precedence on conflicts.

Declarations
Type
attribute set of anything
Default
{ }
Example
{
  color_scheme = "Catppuccin Mocha";
  font_size = 13;
  hide_tab_bar_if_only_one_tab = true;
  window_padding = {
    left = 0;
    right = 0;
    top = 0;
    bottom = 0;
  };
  font = lib.generators.mkLuaInline ''wezterm.font("JetBrains Mono")'';
}