aboutsummaryrefslogtreecommitdiffstats
path: root/modules/private/email.example.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/private/email.example.nix')
-rw-r--r--modules/private/email.example.nix30
1 files changed, 16 insertions, 14 deletions
diff --git a/modules/private/email.example.nix b/modules/private/email.example.nix
index 16d8402..e6b4c2f 100644
--- a/modules/private/email.example.nix
+++ b/modules/private/email.example.nix
@@ -1,20 +1,22 @@
# Email example - Template for configuring neomutt email accounts
{ ... }:
{
- config.communication.neomutt.accounts = {
- "example@gmail.com" = {
- realName = "Example User";
- address = "user@gmail.com";
- passwordGopassSecret = "mail/user@gmail.com";
- flavor = "gmail.com";
- primary = true;
- neomutt.extraConfig = ''
- set pgp_default_key = YOUR_GPG_KEY_FINGERPRINT
- '';
- gpg = {
- key = "YOUR_GPG_KEY_ID";
- signByDefault = true;
- encryptByDefault = false; # set true only if you also want auto-encrypt
+ config = {
+ communication.neomutt.accounts = {
+ "example@gmail.com" = {
+ realName = "Example User";
+ address = "user@gmail.com";
+ passwordGopassSecret = "mail/user@gmail.com";
+ flavor = "gmail.com";
+ primary = true;
+ neomutt.extraConfig = ''
+ set pgp_default_key = YOUR_GPG_KEY_FINGERPRINT
+ '';
+ gpg = {
+ key = "YOUR_GPG_KEY_ID";
+ signByDefault = true;
+ encryptByDefault = false; # set true only if you also want auto-encrypt
+ };
};
};
};