2022-03-10 20:59:18 +01:00
|
|
|
{ pkgs, lib, ... }:
|
|
|
|
let
|
2022-03-13 11:46:00 +01:00
|
|
|
theme = pkgs.myThemes.current;
|
2022-03-10 20:59:18 +01:00
|
|
|
in
|
|
|
|
{
|
2022-03-08 11:12:09 +01:00
|
|
|
home-manager.users.adrielus.programs = {
|
|
|
|
# Add tmux-navigator plugin to neovim
|
|
|
|
neovim.extraPackages = [ pkgs.vimPlugins.vim-tmux-navigator ];
|
|
|
|
|
|
|
|
tmux = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
clock24 = true; # 24h clock format
|
|
|
|
terminal = "screen-256color"; # more colors
|
|
|
|
historyLimit = 10000; # increase amount of saved lines
|
|
|
|
|
|
|
|
plugins = with pkgs.tmuxPlugins; [
|
|
|
|
cpu # Show CPU load with easy icons
|
|
|
|
vim-tmux-navigator # Switch between tmux and vim panes with ease
|
|
|
|
];
|
|
|
|
|
|
|
|
extraConfig = ''
|
2022-03-13 11:46:00 +01:00
|
|
|
# Load current theme
|
|
|
|
source ${theme.tmux.path}
|
2022-03-09 19:03:04 +01:00
|
|
|
|
|
|
|
# load the rest of the config
|
2022-03-13 11:46:00 +01:00
|
|
|
source ${../../dotfiles/tmux/tmux.conf}
|
2022-03-08 11:12:09 +01:00
|
|
|
'';
|
|
|
|
};
|
2022-03-08 10:25:05 +01:00
|
|
|
};
|
|
|
|
}
|