1
Fork 0
satellite/modules/applications/tmux.nix

28 lines
774 B
Nix
Raw Normal View History

2022-03-08 10:25:05 +01:00
{ pkgs, ... }: {
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 = ''
# load the rest of the config
source-file ${../../dotfiles/tmux/tmux.conf}
# Use github light theme
source-file ${pkgs.githubNvimTheme}/terminal/tmux/github_light.conf
'';
};
2022-03-08 10:25:05 +01:00
};
}