Files
dotfiles/config/nix/common/wezterm.nix
2024-03-05 11:30:24 +05:30

33 lines
925 B
Nix

{ pkgs, ... }: {
programs.wezterm = {
enable = true;
extraConfig = # lua
''
local wezterm = require 'wezterm';
return {
term = "wezterm",
font = wezterm.font_with_fallback({
"Hasklig",
"Symbols Nerd Font Mono"
}),
color_scheme = "Catppuccin Mocha",
font_size = 16,
initial_cols = 200,
hide_tab_bar_if_only_one_tab = true,
window_background_opacity = 0.8,
cursor_blink_rate = 8,
default_cursor_style = "BlinkingBlock",
default_prog = { "${pkgs.fish.outPath}/bin/fish", "-l" },
window_padding = {
left = 2,
right = 0,
top = 2,
bottom = 0,
},
window_decorations = "RESIZE",
use_ime = false,
}
'';
};
}