Replace alot with astroid and add some notmuch config
This commit is contained in:
parent
3fe286c2a0
commit
0b18a7860b
|
@ -1,16 +1,13 @@
|
|||
{ pkgs, hostName, ... }:
|
||||
|
||||
{
|
||||
accounts.email.accounts = let
|
||||
realName = "Evelyn Litherland-Smith";
|
||||
notmuch.enable = true;
|
||||
|
||||
accounts.email.accounts = let realName = "Evelyn Litherland-Smith";
|
||||
in {
|
||||
proton = let
|
||||
host = "127.0.0.1";
|
||||
tls.enable = false;
|
||||
in rec {
|
||||
inherit realName notmuch;
|
||||
inherit realName;
|
||||
maildir.path = "Proton";
|
||||
imap = {
|
||||
inherit host tls;
|
||||
|
@ -39,9 +36,11 @@
|
|||
auth = "login";
|
||||
};
|
||||
};
|
||||
notmuch.enable = true;
|
||||
astroid.enable = true;
|
||||
};
|
||||
icloud = rec {
|
||||
inherit realName notmuch;
|
||||
inherit realName;
|
||||
maildir.path = "iCloud";
|
||||
imap.host = "imap.mail.me.com";
|
||||
smtp.host = "smtp.mail.me.com";
|
||||
|
@ -55,12 +54,14 @@
|
|||
subFolders = "Verbatim";
|
||||
};
|
||||
msmtp.enable = true;
|
||||
notmuch.enable = true;
|
||||
astroid.enable = true;
|
||||
};
|
||||
ukaea = let
|
||||
host = "127.0.0.1";
|
||||
tls.enable = false;
|
||||
in rec {
|
||||
inherit realName notmuch;
|
||||
inherit realName;
|
||||
maildir.path = "UKAEA";
|
||||
imap = {
|
||||
inherit host tls;
|
||||
|
@ -87,19 +88,26 @@
|
|||
auth = "login";
|
||||
};
|
||||
};
|
||||
notmuch.enable = true;
|
||||
astroid.enable = true;
|
||||
};
|
||||
};
|
||||
home.packages = with pkgs; [ protonmail-bridge davmail vdirsyncer ];
|
||||
programs = {
|
||||
mbsync = { enable = true; };
|
||||
msmtp = { enable = true; };
|
||||
mbsync.enable = true;
|
||||
msmtp.enable = true;
|
||||
# vdirsyncer = { enable = true; };
|
||||
notmuch = {
|
||||
enable = true;
|
||||
maildir.synchronizeFlags = true;
|
||||
new.ignore = [ ".nnmaildir" ];
|
||||
};
|
||||
afew.enable = true;
|
||||
alot.enable = true;
|
||||
astroid = {
|
||||
enable = true;
|
||||
pollScript = "mbsync -a";
|
||||
externalEditor = "emacsclient -q -a 'emacs' -c %1";
|
||||
};
|
||||
};
|
||||
xdg.configFile."vdirsyncer/config".text =
|
||||
import ./config/vdirsyncer.nix { inherit pkgs; };
|
||||
|
|
Loading…
Reference in a new issue