mirror of
https://github.com/nix-community/home-manager
synced 2024-12-21 02:23:16 +00:00
2ffc6d6496
Co-authored-by: Sleroq <sleroq@sleroq.link>
26 lines
510 B
Nix
26 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}
|
|
'';
|
|
};
|
|
}
|