tmux: mouse support (#3642)

Co-authored-by: Sleroq <sleroq@sleroq.link>
This commit is contained in:
Sleroq 2023-02-05 16:02:14 +06:00 committed by GitHub
parent e2c1756e3a
commit 2ffc6d6496
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 65 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ config, lib, pkgs, ... }:
with lib;
{
config = {
programs.tmux = {
enable = true;
mouse = true;
};
nixpkgs.overlays = [
(self: super: {
tmuxPlugins = super.tmuxPlugins // {
sensible = super.tmuxPlugins.sensible // { rtp = "@sensible_rtp@"; };
};
})
];
nmt.script = ''
assertFileExists home-files/.config/tmux/tmux.conf
assertFileContent home-files/.config/tmux/tmux.conf \
${./mouse-enabled.conf}
'';
};
}