fork/home-manager

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

Eliza Velasquezmujmap: add moduled059b944

master
579 B25 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      mujmap.enable = true;
15      notmuch.enable = true;
16    };
17
18    nmt.script = ''
19      assertFileExists home-files/Mail/hm@example.com/mujmap.toml
20      assertFileContent home-files/Mail/hm@example.com/mujmap.toml ${
21        ./mujmap-defaults-expected.toml
22      }
23    '';
24  };
25}