1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 19:49:45 +01:00
home-manager/tests/modules/programs/tmux/disable-confirmation-prompt.nix

27 lines
544 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/.config/tmux/tmux.conf
assertFileContent home-files/.config/tmux/tmux.conf \
${./disable-confirmation-prompt.conf}
2019-06-04 13:21:20 +02:00
'';
};
}