My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/tests/modules/programs/tmux/shortcut-without-prefix.nix

27 lines
519 B

{ 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/.tmux.conf
assertFileContent home-files/.tmux.conf \
${./shortcut-without-prefix.conf}
'';
};
}