2021-03-29 06:44:47 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [ ../../accounts/email-test-accounts.nix ];
|
|
|
|
|
|
|
|
config = {
|
|
|
|
accounts.email.accounts = {
|
|
|
|
"hm@example.com".maildir = null;
|
|
|
|
hm-account.neomutt.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
programs.neomutt.enable = true;
|
|
|
|
|
2021-09-26 11:08:45 +02:00
|
|
|
test.stubs.neomutt = { };
|
2021-03-29 06:44:47 +02:00
|
|
|
|
|
|
|
nmt.script = ''
|
|
|
|
assertFileExists home-files/.config/neomutt/neomuttrc
|
|
|
|
assertFileContent home-files/.config/neomutt/neomuttrc ${
|
|
|
|
./neomutt-not-primary-expected.conf
|
|
|
|
}
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|