diff --git a/home/default.nix b/home/default.nix index d6aa369..66305c4 100644 --- a/home/default.nix +++ b/home/default.nix @@ -13,6 +13,7 @@ ./mpv.nix ./terminals.nix ./ssh + ./tmux.nix ./gpg.nix ./dirs.nix ]; diff --git a/home/terminals.nix b/home/terminals.nix index d23411e..ea892bb 100644 --- a/home/terminals.nix +++ b/home/terminals.nix @@ -89,5 +89,8 @@ in { touch_scroll_multiplier = 4; } // (numberedColors "color" "#" 0 colors.normal) // (numberedColors "color" "#" 8 colors.bright); + extraConfig = '' + symbol_map U+e000-U+f8ff Symbols Nerd Font Mono + ''; }; } diff --git a/home/tmux.nix b/home/tmux.nix new file mode 100644 index 0000000..219bc5d --- /dev/null +++ b/home/tmux.nix @@ -0,0 +1,19 @@ +{ pkgs, ... }: { + programs.tmux = { + enable = true; + terminal = "screen-256color"; + historyLimit = 65536; + clock24 = true; + plugins = with pkgs.tmuxPlugins; [{ + plugin = catppuccin; + extraConfig = '' + set -g @catppuccin_flavour 'mocha' + ''; + }]; + extraConfig = '' + bind '"' split-window -c "#{pane_current_path}" + bind % split-window -h -c "#{pane_current_path}" + bind c new-window -c "#{pane_current_path}" + ''; + }; +}