fork/home-manager

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

Jian Linmu: add package option (#4325)a8f8f483

master
554 B24 linesraw
1{ ... }:
2
3{
4  imports = [ ../../accounts/email-test-accounts.nix ];
5
6  accounts.email.accounts = {
7    "hm@example.com" = {
8      mu.enable = true;
9      aliases = [ "foo@example.com" ];
10    };
11  };
12
13  programs.mu.enable = true;
14
15  test.stubs.mu = { name = "mu"; };
16
17  nmt.script = ''
18    assertFileContains activate \
19      'if [[ ! -d "/home/hm-user/.cache/mu" ]]; then'
20
21    assertFileContains activate \
22      '$DRY_RUN_CMD @mu@/bin/mu init --maildir=/home/hm-user/Mail --my-address=hm@example.com --my-address=foo@example.com $VERBOSE_ARG;'
23  '';
24}