1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-26 03:39:47 +01:00
home-manager/tests/modules/programs/tmux/disable-confirmation-prompt.nix

27 lines
520 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
'';
};
}