aboutsummaryrefslogtreecommitdiffstats
path: root/modules/private/email.example.nix
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar+git@gmail.com>2026-08-17 15:25:55 +0530
committerArpit Chakladar <arpitchakladar+git@gmail.com>2026-08-29 03:50:27 +0530
commit2ac22a72455341a3efced289782fe5daf5d788ee (patch)
treedad5f0cb7ea6c2dce9426462e35cc518d73ad91f /modules/private/email.example.nix
parentf001094478a394b70f32425c7fcc0d715950b851 (diff)
downloadhome-manager-config-2ac22a72455341a3efced289782fe5daf5d788ee.tar.gz
home-manager-config-2ac22a72455341a3efced289782fe5daf5d788ee.zip
refactor: rewrote how ssh keys are handled in gopass-ssh-load
- all ssh keys that are used under ssh/ have to be explicitely added via security.ssh.gopassKeys = [ ... ]
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
+ };
};
};
};