fork/home-manager

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

Mario Rodasprograms.tmux: use xdg config path (#1928)e00dd0d7

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