home: add tmux

This commit is contained in:
Artemis Tosini 2024-02-09 21:54:51 +00:00
parent 81e2473d48
commit 8db4342b8f
Signed by: artemist
SSH key fingerprint: SHA256:EsuWCwx6fjxxExxf65rX+ocQJJAdw4R1KarpFue6Uwc
3 changed files with 23 additions and 0 deletions

View file

@ -13,6 +13,7 @@
./mpv.nix ./mpv.nix
./terminals.nix ./terminals.nix
./ssh ./ssh
./tmux.nix
./gpg.nix ./gpg.nix
./dirs.nix ./dirs.nix
]; ];

View file

@ -89,5 +89,8 @@ in {
touch_scroll_multiplier = 4; touch_scroll_multiplier = 4;
} // (numberedColors "color" "#" 0 colors.normal) } // (numberedColors "color" "#" 0 colors.normal)
// (numberedColors "color" "#" 8 colors.bright); // (numberedColors "color" "#" 8 colors.bright);
extraConfig = ''
symbol_map U+e000-U+f8ff Symbols Nerd Font Mono
'';
}; };
} }

19
home/tmux.nix Normal file
View file

@ -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}"
'';
};
}