324fedcf9f
This adds support for configuring email accounts, with automatic smtp, imap, sendmail (msmpt) and maildir (mbsync, offlineimap) setup in aerc, via `accounts.email`.
19 lines
372 B
Nix
19 lines
372 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
config = {
|
|
nmt.script = let dir = "home-files/.config/aerc";
|
|
in ''
|
|
assertPathNotExists ${dir}/accounts.conf
|
|
assertPathNotExists ${dir}/aerc.conf
|
|
assertPathNotExists ${dir}/binds.conf
|
|
assertPathNotExists ${dir}/stylesets
|
|
'';
|
|
programs.aerc.enable = true;
|
|
|
|
test.stubs.aerc = { };
|
|
};
|
|
}
|