mirror of
https://github.com/nix-community/home-manager
synced 2024-12-18 09:03:16 +00:00
29 lines
581 B
Nix
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}
|
|
'';
|
|
};
|
|
}
|