1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-16 08:09:45 +01:00
home-manager/tests/modules/programs/tmux/vi-all-true.nix
2020-02-02 01:07:28 +01:00

29 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}
'';
};
}