1
0
mirror of https://github.com/nix-community/home-manager synced 2024-07-04 20:33:27 +02:00
home-manager/tests/modules/programs/aerc/noSettings.nix
Lukas Nagel 324fedcf9f
Add module for aerc (#3070)
This adds support for configuring email accounts, with automatic smtp, imap,
sendmail (msmpt) and maildir (mbsync, offlineimap) setup in aerc,
via `accounts.email`.
2022-08-11 23:08:28 +02:00

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 = { };
};
}