fork/home-manager

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

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

master
484 B27 linesraw
1{ config, lib, pkgs, ... }:
2
3with lib;
4
5let
6
7  substituteExpected = path:
8    pkgs.substituteAll {
9      src = path;
10
11      sensible_rtp = pkgs.tmuxPlugins.sensible.rtp;
12    };
13
14in {
15  config = {
16    programs.tmux = {
17      enable = true;
18      shell = "/usr/bin/myshell";
19    };
20
21    nmt.script = ''
22      assertFileExists home-files/.config/tmux/tmux.conf
23      assertFileContent home-files/.config/tmux/tmux.conf \
24        ${substituteExpected ./default-shell.conf}
25    '';
26  };
27}