mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 05:03:09 +00:00
514acaebb9
Also add missing options.
25 lines
576 B
Nix
25 lines
576 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
imports = [ ../../accounts/email-test-accounts.nix ];
|
|
|
|
config = {
|
|
programs.lieer.enable = true;
|
|
programs.lieer.package = pkgs.writeScriptBin "dummy-gmailieer" "";
|
|
|
|
accounts.email.accounts."hm@example.com" = {
|
|
flavor = "gmail.com";
|
|
lieer.enable = true;
|
|
notmuch.enable = true;
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/Mail/hm@example.com/.gmailieer.json
|
|
assertFileContent home-files/Mail/hm@example.com/.gmailieer.json ${
|
|
./lieer-expected.json
|
|
}
|
|
'';
|
|
};
|
|
}
|