1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-05 01:19:46 +01:00
home-manager/tests/modules/programs/neomutt/neomutt-with-binds-invalid-settings.nix

30 lines
527 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
with lib;
{
config = {
programs.neomutt = {
enable = true;
binds = [{
action = "complete-query";
key = "<Tab>";
map = [ ];
}];
macros = [{
action = "<change-folder>?<change-dir><home>^K=<enter><tab>";
key = "c";
map = [ ];
}];
};
test.stubs.neomutt = { };
test.asserts.assertions.expected = [
"The 'programs.neomutt.(binds|macros).map' list must contain at least one element."
];
};
}