summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstuebinm2023-04-07 16:30:03 +0200
committerstuebinm2023-04-07 16:30:03 +0200
commit2f2cf57b0389c2af29c73c5fbb51f35363943fa1 (patch)
tree029e98f0fcd53ab74e64b30828eb6d6c54fa9ea8
parent39883fa0455c7c6dc0412a2987e5cf07a3d0f2c0 (diff)
home: more reasonable mail setup for emacs
-rw-r--r--home/home.nix16
1 files changed, 15 insertions, 1 deletions
diff --git a/home/home.nix b/home/home.nix
index 4515720..73f4935 100644
--- a/home/home.nix
+++ b/home/home.nix
@@ -33,7 +33,21 @@
realName = "stuebinm";
smtp.host = "mail.hacc.space";
userName = "stuebinm@hacc.space";
- passwordCommand = "cat ~/mailpasswd";
+ passwordCommand = "secret-tool lookup mail hacc";
+ };
+ accounts.disroot = {
+ address = "stuebinm@disroot.org";
+ imap.host = "disroot.org";
+ mbsync = {
+ enable = true;
+ create = "maildir";
+ };
+ msmtp.enable = true;
+ mu.enable = true;
+ realName = "terru";
+ smtp.host = "disroot.org";
+ userName = "stuebinm@disroot.org";
+ passwordCommand = "secret-tool lookup mail disroot";
};
};