From 2f2cf57b0389c2af29c73c5fbb51f35363943fa1 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Fri, 7 Apr 2023 16:30:03 +0200 Subject: home: more reasonable mail setup for emacs --- home/home.nix | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'home') 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"; }; }; -- cgit v1.2.3