2019-10-15 04:23:32 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
let
|
|
|
|
|
|
|
|
substituteExpected = path:
|
|
|
|
pkgs.substituteAll {
|
|
|
|
src = path;
|
|
|
|
|
|
|
|
sensible_rtp = pkgs.tmuxPlugins.sensible.rtp;
|
|
|
|
};
|
|
|
|
|
|
|
|
in {
|
|
|
|
config = {
|
|
|
|
programs.tmux = {
|
|
|
|
enable = true;
|
|
|
|
shell = "/usr/bin/myshell";
|
|
|
|
};
|
|
|
|
|
|
|
|
nmt.script = ''
|
2021-04-23 09:25:13 +02:00
|
|
|
assertFileExists home-files/.config/tmux/tmux.conf
|
|
|
|
assertFileContent home-files/.config/tmux/tmux.conf \
|
2019-10-15 04:23:32 +02:00
|
|
|
${substituteExpected ./default-shell.conf}
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|