mirror of
https://github.com/nix-community/home-manager
synced 2024-12-18 09:03:16 +00:00
324fedcf9f
This adds support for configuring email accounts, with automatic smtp, imap, sendmail (msmpt) and maildir (mbsync, offlineimap) setup in aerc, via `accounts.email`.
18 lines
372 B
Nix
18 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 = { };
|
|
};
|
|
}
|