1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-14 04:51:08 +01:00
home-manager/tests/modules/programs/meli/meli.nix
MunsMan 13ed57aaa6
meli: adding the meli email client (#7111)
Meli email client integrated into the accounts.email.accouts settings.
2025-05-28 22:30:10 -05:00

28 lines
536 B
Nix

{
imports = [
../../accounts/email-test-accounts.nix
];
programs.meli = {
enable = true;
settings = {
shortcuts = {
general = {
scroll_up = "k";
scroll_down = "j";
};
};
};
};
accounts.email.accounts = {
"hm@example.com" = {
meli.enable = true;
smtp.port = 1848;
};
};
nmt.script = ''
assertFileExists home-files/.config/meli/config.toml
assertFileContent home-files/.config/meli/config.toml ${./expected.toml}
'';
}