2019-02-10 01:19:56 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
config = {
|
|
|
|
programs.tmux = {
|
|
|
|
aggressiveResize = true;
|
|
|
|
clock24 = true;
|
|
|
|
enable = true;
|
|
|
|
keyMode = "emacs";
|
|
|
|
newSession = true;
|
|
|
|
reverseSplit = true;
|
|
|
|
|
|
|
|
plugins = with pkgs.tmuxPlugins; [
|
|
|
|
logging
|
|
|
|
prefix-highlight
|
|
|
|
fzf-tmux-url
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2019-10-08 20:46:27 +00:00
|
|
|
nixpkgs.overlays = [
|
|
|
|
(self: super: {
|
|
|
|
tmuxPlugins = super.tmuxPlugins // {
|
|
|
|
fzf-tmux-url = super.tmuxPlugins.fzf-tmux-url // {
|
|
|
|
rtp = "@tmuxplugin_fzf_tmux_url_rtp@";
|
|
|
|
};
|
|
|
|
|
|
|
|
logging = super.tmuxPlugins.logging // {
|
|
|
|
rtp = "@tmuxplugin_logging_rtp@";
|
|
|
|
};
|
|
|
|
|
|
|
|
prefix-highlight = super.tmuxPlugins.prefix-highlight // {
|
|
|
|
rtp = "@tmuxplugin_prefix_highlight_rtp@";
|
|
|
|
};
|
|
|
|
|
|
|
|
sensible = super.tmuxPlugins.sensible // {
|
|
|
|
rtp = "@tmuxplugin_sensible_rtp@";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2019-02-10 01:19:56 +00:00
|
|
|
nmt.script = ''
|
2021-04-23 07:25:13 +00:00
|
|
|
assertFileExists home-files/.config/tmux/tmux.conf
|
|
|
|
assertFileContent home-files/.config/tmux/tmux.conf ${
|
|
|
|
./emacs-with-plugins.conf
|
|
|
|
}
|
2019-02-10 01:19:56 +00:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|