2019-02-10 01:19:56 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
2019-10-08 20:46:27 +00:00
|
|
|
{
|
2019-02-10 01:19:56 +00:00
|
|
|
config = {
|
|
|
|
programs.tmux = {
|
|
|
|
aggressiveResize = true;
|
|
|
|
clock24 = true;
|
|
|
|
enable = true;
|
|
|
|
keyMode = "vi";
|
|
|
|
newSession = true;
|
|
|
|
reverseSplit = true;
|
|
|
|
};
|
|
|
|
|
2019-10-08 20:46:27 +00:00
|
|
|
nixpkgs.overlays = [
|
|
|
|
(self: super: {
|
|
|
|
tmuxPlugins = super.tmuxPlugins // {
|
2020-02-01 23:39:17 +00:00
|
|
|
sensible = super.tmuxPlugins.sensible // { rtp = "@sensible_rtp@"; };
|
2019-10-08 20:46:27 +00:00
|
|
|
};
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
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 ${./vi-all-true.conf}
|
2019-02-10 01:19:56 +00:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|