trying other cli email settings
This commit is contained in:
parent
437cfc64bb
commit
ec7e77cb93
1 changed files with 11 additions and 30 deletions
|
@ -19,12 +19,10 @@
|
||||||
};
|
};
|
||||||
notmuch.enable = true;
|
notmuch.enable = true;
|
||||||
astroid.enable = true;
|
astroid.enable = true;
|
||||||
|
neomutt.enable = true;
|
||||||
msmtp.enable = true;
|
msmtp.enable = true;
|
||||||
passwordCommand = "${pkgs.pass}/bin/pass proton-bridge";
|
passwordCommand = "${pkgs.pass}/bin/pass proton-bridge";
|
||||||
mbsync = {
|
offlineimap.enable = true;
|
||||||
enable = true;
|
|
||||||
create = "maildir";
|
|
||||||
};
|
|
||||||
folders = {
|
folders = {
|
||||||
drafts = "Drafts";
|
drafts = "Drafts";
|
||||||
inbox = "INBOX";
|
inbox = "INBOX";
|
||||||
|
@ -33,44 +31,27 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
|
||||||
imapnotify.enable = true;
|
|
||||||
|
|
||||||
mbsync = {
|
|
||||||
enable = true;
|
|
||||||
frequency = "hourly";
|
|
||||||
postExec = "${pkgs.notmuch}/bin/notmuch new";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.mbsync.enable = true;
|
|
||||||
programs.msmtp.enable = true;
|
programs.msmtp.enable = true;
|
||||||
|
programs.offlineimap.enable = true;
|
||||||
programs.notmuch = {
|
programs.notmuch = {
|
||||||
enable = true;
|
enable = true;
|
||||||
hooks = {
|
hooks.preNew = "${pkgs.offlineimap}/bin/offlineimap -o";
|
||||||
preNew = "mbsync --all";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
programs.astroid = {
|
|
||||||
enable = true;
|
|
||||||
pollScript = "${pkgs.notmuch}/bin/notmuch new";
|
|
||||||
extraConfig = {
|
|
||||||
attachments = {
|
|
||||||
external_open_cmd = "${pkgs.xdg_utils}/bin/xdg-open";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
programs.alot = {
|
programs.alot = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.astroid = {
|
||||||
|
enable = true;
|
||||||
|
pollScript = "${pkgs.notmuch}/bin/notmuch new";
|
||||||
|
};
|
||||||
|
programs.neomutt = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
hydroxide
|
hydroxide
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
systemd.user.services."hydroxide" = {
|
systemd.user.services."hydroxide" = {
|
||||||
Unit.Description = "Bridge to ProtonMail";
|
Unit.Description = "Bridge to ProtonMail";
|
||||||
Install.WantedBy = [ "default.target" ];
|
Install.WantedBy = [ "default.target" ];
|
||||||
|
|
Loading…
Reference in a new issue