home-manager/tests/modules/programs/tmux/disable-confirmation-prompt.nix

29 lines
542 B
Nix
Raw Normal View History

2019-06-04 13:21:20 +02:00
{ config, lib, pkgs, ... }:
with lib;
{
config = {
programs.tmux = {
enable = true;
disableConfirmationPrompt = true;
};
nixpkgs.overlays = [
(self: super: {
tmuxPlugins = super.tmuxPlugins // {
sensible = super.tmuxPlugins.sensible // {
rtp = "@sensible_rtp@";
};
};
})
];
2019-06-04 13:21:20 +02:00
nmt.script = ''
assertFileExists home-files/.tmux.conf
assertFileContent home-files/.tmux.conf \
${./disable-confirmation-prompt.conf}
2019-06-04 13:21:20 +02:00
'';
};
}