1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 05:29:46 +01:00
home-manager/tests/modules/programs/tmux/shortcut-without-prefix.nix

28 lines
543 B
Nix
Raw Permalink Normal View History

{ 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}
'';
};
}