30 lines
581 B
Nix
30 lines
581 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
{
|
||
|
config = {
|
||
|
programs.tmux = {
|
||
|
aggressiveResize = true;
|
||
|
clock24 = true;
|
||
|
enable = true;
|
||
|
keyMode = "vi";
|
||
|
newSession = true;
|
||
|
reverseSplit = true;
|
||
|
};
|
||
|
|
||
|
nixpkgs.overlays = [
|
||
|
(self: super: {
|
||
|
tmuxPlugins = super.tmuxPlugins // {
|
||
|
sensible = super.tmuxPlugins.sensible // { rtp = "@sensible_rtp@"; };
|
||
|
};
|
||
|
})
|
||
|
];
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertFileExists home-files/.tmux.conf
|
||
|
assertFileContent home-files/.tmux.conf ${./vi-all-true.conf}
|
||
|
'';
|
||
|
};
|
||
|
}
|