diff options
author | Nick Hu <me@nickhu.co.uk> | 2019-04-10 12:50:44 +0100 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2019-04-12 21:26:46 +0200 |
commit | a6f0fa90f73eab34744bd1dadbc73490e86be057 (patch) | |
tree | 6b4d86bf15d7edb002cee50acc4239436c689ee5 /modules/programs/alot.nix | |
parent | 30a16e3a87d509735731706379dce9c0223fe5b9 (diff) |
email: add facility for email aliases
Also update the notmuch and alot modules to include support for email
aliases.
Diffstat (limited to 'modules/programs/alot.nix')
-rw-r--r-- | modules/programs/alot.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/programs/alot.nix b/modules/programs/alot.nix index 39c701e5c77..341bb04a98e 100644 --- a/modules/programs/alot.nix +++ b/modules/programs/alot.nix @@ -22,6 +22,9 @@ let sendmail_command = optionalString (alot.sendMailCommand != null) alot.sendMailCommand; } + // optionalAttrs (aliases != []) { + aliases = concatStringsSep "," aliases; + } // optionalAttrs (gpg != null) { gpg_key = gpg.key; encrypt_by_default = if gpg.encryptByDefault then "all" else "none"; |