fork/home-manager

git clone https://git.julia.blue/fork/home-manager

Sleroqtmux: mouse support (#3642)2ffc6d64

master
510 B26 linesraw
1{ config, lib, pkgs, ... }:
2
3with lib;
4
5{
6  config = {
7    programs.tmux = {
8      enable = true;
9      mouse = true;
10    };
11
12    nixpkgs.overlays = [
13      (self: super: {
14        tmuxPlugins = super.tmuxPlugins // {
15          sensible = super.tmuxPlugins.sensible // { rtp = "@sensible_rtp@"; };
16        };
17      })
18    ];
19
20    nmt.script = ''
21      assertFileExists home-files/.config/tmux/tmux.conf
22      assertFileContent home-files/.config/tmux/tmux.conf \
23        ${./mouse-enabled.conf}
24    '';
25  };
26}