2019-02-10 02:19:56 +01:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
2019-10-08 22:46:27 +02:00
|
|
|
{
|
2019-02-10 02:19:56 +01:00
|
|
|
config = {
|
|
|
|
programs.tmux = {
|
|
|
|
aggressiveResize = true;
|
|
|
|
clock24 = true;
|
|
|
|
enable = true;
|
|
|
|
keyMode = "vi";
|
|
|
|
newSession = true;
|
|
|
|
reverseSplit = true;
|
|
|
|
};
|
|
|
|
|
2019-10-08 22:46:27 +02:00
|
|
|
nixpkgs.overlays = [
|
|
|
|
(self: super: {
|
|
|
|
tmuxPlugins = super.tmuxPlugins // {
|
2020-02-02 00:39:17 +01:00
|
|
|
sensible = super.tmuxPlugins.sensible // { rtp = "@sensible_rtp@"; };
|
2019-10-08 22:46:27 +02:00
|
|
|
};
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2019-02-10 02:19:56 +01:00
|
|
|
nmt.script = ''
|
|
|
|
assertFileExists home-files/.tmux.conf
|
2019-10-08 22:46:27 +02:00
|
|
|
assertFileContent home-files/.tmux.conf ${./vi-all-true.conf}
|
2019-02-10 02:19:56 +01:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|