mirror of
https://github.com/nix-community/home-manager
synced 2024-11-14 23:29:46 +01:00
23 lines
522 B
Nix
23 lines
522 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
{
|
||
|
imports = [ ../../accounts/email-test-accounts.nix ];
|
||
|
|
||
|
config = {
|
||
|
home.username = "hm-user";
|
||
|
home.homeDirectory = "/home/hm-user";
|
||
|
|
||
|
programs.lieer.enable = true;
|
||
|
|
||
|
accounts.email.accounts = { "hm@example.com".lieer.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}
|
||
|
'';
|
||
|
};
|
||
|
}
|