mirror of
https://github.com/nix-community/home-manager
synced 2024-11-01 08:49:44 +01: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}
|
||
|
'';
|
||
|
};
|
||
|
}
|