This repository has been archived on 2024-04-14. You can view files and clone it, but cannot push or open issues or pull requests.
nixos-dotfiles/user/configs/wezterm/default.nix

43 lines
831 B
Nix
Executable File

{
config,
pkgs,
inputs,
...
}: {
programs.wezterm = {
enable = true;
package = inputs.wezterm.packages.${pkgs.system}.default;
extraConfig =
/*
lua
*/
''
local wezterm = require("wezterm")
local config = {}
if wezterm.config_builder then
config = wezterm.config_builder()
end
config = {
font = wezterm.font "JetBrainsMono Nerd Font",
font_size = 10,
line_height = 1.1,
window_background_opacity = 0.9,
color_scheme = 'Gruvbox Dark (Gogh)',
hide_tab_bar_if_only_one_tab = true,
window_padding = {
left = "20",
right = "20",
top = "20",
bottom = "20",
},
}
return config
'';
};
}