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