mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 21:23:38 +00:00
29 lines
579 B
Nix
29 lines
579 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
{
|
||
|
imports = [ ../../accounts/email-test-accounts.nix ];
|
||
|
|
||
|
accounts.email.accounts = {
|
||
|
"hm@example.com" = {
|
||
|
imap.port = 993;
|
||
|
smtp.port = 465;
|
||
|
himalaya.enable = true;
|
||
|
himalaya.backend = "deprecated";
|
||
|
himalaya.sender = "deprecated";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
programs.himalaya = { enable = true; };
|
||
|
|
||
|
test.stubs.himalaya = { };
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertFileExists home-files/.config/himalaya/config.toml
|
||
|
assertFileContent home-files/.config/himalaya/config.toml ${
|
||
|
./basic-expected.toml
|
||
|
}
|
||
|
'';
|
||
|
}
|