depot/third_party/home-manager/tests/modules/programs/tmux/shortcut-without-prefix.nix
Default email a0869759be Project import generated by Copybara.
GitOrigin-RevId: ac319fd3149b23a3ad8ee24cb2def6e67acf194c
2021-07-03 00:36:30 +02:00

27 lines
543 B
Nix

{ config, lib, pkgs, ... }:
with lib;
{
config = {
programs.tmux = {
enable = true;
shortcut = "a";
prefix = null;
};
nixpkgs.overlays = [
(self: super: {
tmuxPlugins = super.tmuxPlugins // {
sensible = super.tmuxPlugins.sensible // { rtp = "@sensible_rtp@"; };
};
})
];
nmt.script = ''
assertFileExists home-files/.config/tmux/tmux.conf
assertFileContent home-files/.config/tmux/tmux.conf \
${./shortcut-without-prefix.conf}
'';
};
}