mirror of
https://github.com/nix-community/home-manager
synced 2024-12-23 19:43:17 +00:00
27 lines
510 B
Nix
27 lines
510 B
Nix
|
{ 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}
|
||
|
'';
|
||
|
};
|
||
|
}
|