set up neverest imap-to-maildir sync, switch himalaya to maildir backend
This commit is contained in:
@@ -30,6 +30,7 @@
|
|||||||
../../profiles/fzf.nix
|
../../profiles/fzf.nix
|
||||||
../../profiles/git.nix
|
../../profiles/git.nix
|
||||||
../../profiles/himalaya.nix
|
../../profiles/himalaya.nix
|
||||||
|
../../profiles/neverest.nix
|
||||||
../../profiles/home.nix
|
../../profiles/home.nix
|
||||||
../../profiles/jjui.nix
|
../../profiles/jjui.nix
|
||||||
../../profiles/jujutsu.nix
|
../../profiles/jujutsu.nix
|
||||||
|
|||||||
@@ -11,16 +11,18 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
accounts.email = {
|
accounts.email = {
|
||||||
accounts.icloud = {
|
accounts."christoph@schmatzler.com" = {
|
||||||
primary = true;
|
primary = true;
|
||||||
|
maildir.path = "christoph@schmatzler.com";
|
||||||
address = "christoph@schmatzler.com";
|
address = "christoph@schmatzler.com";
|
||||||
userName = "christoph.schmatzler@icloud.com";
|
userName = "christoph.schmatzler@icloud.com";
|
||||||
realName = "Christoph Schmatzler";
|
realName = "Christoph Schmatzler";
|
||||||
passwordCommand = ["cat" "/run/secrets/tahani-email-password"];
|
passwordCommand = ["cat" "/run/secrets/tahani-email-password"];
|
||||||
imap = {
|
folders = {
|
||||||
host = "imap.mail.me.com";
|
inbox = "INBOX";
|
||||||
port = 993;
|
drafts = "Drafts";
|
||||||
tls.enable = true;
|
sent = "Sent Messages";
|
||||||
|
trash = "Deleted Messages";
|
||||||
};
|
};
|
||||||
smtp = {
|
smtp = {
|
||||||
host = "smtp.mail.me.com";
|
host = "smtp.mail.me.com";
|
||||||
|
|||||||
@@ -6,13 +6,13 @@
|
|||||||
}:
|
}:
|
||||||
with lib; let
|
with lib; let
|
||||||
tomlFormat = pkgs.formats.toml {};
|
tomlFormat = pkgs.formats.toml {};
|
||||||
account = config.accounts.email.accounts.icloud;
|
account = config.accounts.email.accounts."christoph@schmatzler.com";
|
||||||
maildirPath = account.maildir.absPath;
|
maildirPath = account.maildir.absPath;
|
||||||
in {
|
in {
|
||||||
home.packages = [pkgs.neverest];
|
home.packages = [pkgs.neverest];
|
||||||
|
|
||||||
xdg.configFile."neverest/config.toml".source = tomlFormat.generate "neverest-config.toml" {
|
xdg.configFile."neverest/config.toml".source = tomlFormat.generate "neverest-config.toml" {
|
||||||
accounts.icloud = {
|
accounts."christoph@schmatzler.com" = {
|
||||||
default = true;
|
default = true;
|
||||||
|
|
||||||
folder.filters = "all";
|
folder.filters = "all";
|
||||||
|
|||||||
Reference in New Issue
Block a user