2eafb8192e
GitOrigin-RevId: 176e455371a8371586e8a3ff0d56ee9f3ca2324e
25 lines
579 B
Nix
25 lines
579 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
imports = [ ../../accounts/email-test-accounts.nix ];
|
|
|
|
config = {
|
|
programs.mujmap.enable = true;
|
|
programs.mujmap.package = config.lib.test.mkStubPackage { };
|
|
|
|
accounts.email.accounts."hm@example.com" = {
|
|
jmap.host = "example.com";
|
|
mujmap.enable = true;
|
|
notmuch.enable = true;
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/Mail/hm@example.com/mujmap.toml
|
|
assertFileContent home-files/Mail/hm@example.com/mujmap.toml ${
|
|
./mujmap-defaults-expected.toml
|
|
}
|
|
'';
|
|
};
|
|
}
|