mirror of
https://github.com/nix-community/home-manager
synced 2024-08-18 18:16:30 +02:00
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 = { };
|
|
};
|
|
}
|