1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-05 01:19:46 +01:00
home-manager/tests/modules/programs/lieer/lieer.nix

26 lines
569 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
with lib;
{
imports = [ ../../accounts/email-test-accounts.nix ];
config = {
programs.lieer.enable = true;
programs.lieer.package = config.lib.test.mkStubPackage { };
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
}
'';
};
}