fork/home-manager

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

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

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