# Configure my terminal of choice { pkgs, ... }: { home.packages = with pkgs; [ # Font # 24.11 # inconsolata-nerdfont # fira-code-nerdfont # 25.05 nerd-fonts.inconsolata nerd-fonts.fira-code nerd-fonts.jetbrains-mono libsixel # For working with images in terminals ]; # 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" = "img2sixel"; }; programs.foot = { enable = true; settings = { main = { font = "FiraCode Nerd Font:size=12"; selection-target = "primary"; pad = "8x8"; }; scrollback = { lines = 5000; }; colors = { alpha = 0.9; # Tokionight Night theme # From https://codeberg.org/dnkl/foot/src/branch/master/themes/tokyonight-night background = "1a1b26"; foreground = "c0caf5"; regular0 = "15161E"; regular1 = "f7768e"; regular2 = "9ece6a"; regular3 = "e0af68"; regular4 = "7aa2f7"; regular5 = "bb9af7"; regular6 = "7dcfff"; regular7 = "a9b1d6"; bright0 = "414868"; bright1 = "f7768e"; bright2 = "9ece6a"; bright3 = "e0af68"; bright4 = "7aa2f7"; bright5 = "bb9af7"; bright6 = "7dcfff"; bright7 = "c0caf5"; }; }; }; }