fork/home-manager

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

Clément DOUINhimalaya: adjust module for 0.8.X (#4093)9ce6977f

master
766 B35 linesraw
1{ config, lib, pkgs, ... }:
2
3with lib;
4
5{
6  accounts.email.accounts = {
7    "hm@example.com" = {
8      primary = true;
9      address = "hm@example.com";
10      userName = "home.manager";
11      realName = "H. M. Test";
12      passwordCommand = "password-command";
13      folders = { trash = "Deleted"; };
14      msmtp.enable = true;
15      himalaya = {
16        enable = true;
17        settings = { sendmail-cmd = "msmtp"; };
18      };
19    };
20  };
21
22  programs.himalaya = {
23    enable = true;
24    settings = { email-listing-page-size = 50; };
25  };
26
27  test.stubs.himalaya = { };
28
29  nmt.script = ''
30    assertFileExists home-files/.config/himalaya/config.toml
31    assertFileContent home-files/.config/himalaya/config.toml ${
32      ./maildir-sendmail-expected.toml
33    }
34  '';
35}