43 lines
994 B
Nix
43 lines
994 B
Nix
# Configure my terminal of choice
|
|
{ pkgs, ... }:
|
|
{
|
|
|
|
home.packages = with pkgs; [
|
|
# Font
|
|
nerd-fonts.inconsolata
|
|
nerd-fonts.fira-code
|
|
nerd-fonts.jetbrains-mono
|
|
];
|
|
|
|
# Allow Home Manager to set fonts.
|
|
fonts.fontconfig.enable = true;
|
|
|
|
programs.wezterm = {
|
|
enable = true;
|
|
enableZshIntegration = true;
|
|
enableBashIntegration = true;
|
|
extraConfig = ''
|
|
local act = wezterm.action;
|
|
|
|
return {
|
|
color_scheme = "tokyonight_night",
|
|
window_background_opacity = 0.80,
|
|
font = wezterm.font "FiraCode Nerd Font",
|
|
font_size = 13,
|
|
hide_tab_bar_if_only_one_tab = true,
|
|
-- Disable the built-in SSH agent in favor of the system one
|
|
mux_enable_ssh_agent = false,
|
|
-- Keys
|
|
keys = {
|
|
-- paste from the clipboard
|
|
{ key = 'v', mods = 'CTRL|SHIFT', action = act.PasteFrom 'Clipboard' },
|
|
}
|
|
}
|
|
'';
|
|
};
|
|
|
|
home.shellAliases = {
|
|
"imgcat" = "wezterm imgcat";
|
|
};
|
|
}
|