fork/home-manager

git clone https://git.julia.blue/fork/home-manager

Eliza Velasquezmujmap: add moduled059b944

master
632 B26 linesraw
1{ config, lib, pkgs, ... }:
2
3with lib;
4
5{
6  imports = [ ../../accounts/email-test-accounts.nix ];
7
8  config = {
9    programs.mujmap.enable = true;
10    programs.mujmap.package = config.lib.test.mkStubPackage { };
11
12    accounts.email.accounts."hm@example.com" = {
13      jmap.host = "example.com";
14      jmap.sessionUrl = "https://jmap.example.com/";
15      mujmap.enable = true;
16      notmuch.enable = true;
17    };
18
19    nmt.script = ''
20      assertFileExists home-files/Mail/hm@example.com/mujmap.toml
21      assertFileContent home-files/Mail/hm@example.com/mujmap.toml ${
22        ./mujmap-defaults-expected.toml
23      }
24    '';
25  };
26}