summaryrefslogtreecommitdiff
path: root/nix/modules/home/mbsync.nix
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@nullring.xyz>2026-03-02 00:03:12 -0800
committerPreston Pan <ret2pop@nullring.xyz>2026-03-02 00:03:12 -0800
commit9484c4ec525c02caa8a65ecfe37ed24f1d4b321d (patch)
tree676712a1504939b37a69fbee9c235dc61917cd65 /nix/modules/home/mbsync.nix
parenta05e0614c1bb75f77717a943dc4ac75a0cca4652 (diff)
Remove local nix directory to prepare for submodule
Diffstat (limited to 'nix/modules/home/mbsync.nix')
-rw-r--r--nix/modules/home/mbsync.nix33
1 files changed, 0 insertions, 33 deletions
diff --git a/nix/modules/home/mbsync.nix b/nix/modules/home/mbsync.nix
deleted file mode 100644
index 893528e..0000000
--- a/nix/modules/home/mbsync.nix
+++ /dev/null
@@ -1,33 +0,0 @@
-{ lib, config, super, ... }:
-{
- programs.mbsync = {
- enable = lib.mkDefault config.monorepo.profiles.email.enable;
- extraConfig = ''
- IMAPAccount ${super.monorepo.vars.internetName}
- Host mail.${super.monorepo.vars.orgHost}
- User ${super.monorepo.vars.email}
- PassCmd "cat ${config.sops.secrets.mail.path}"
- Port 993
- TLSType IMAPS
- AuthMechs *
- CertificateFile /etc/ssl/certs/ca-certificates.crt
-
- IMAPStore ${super.monorepo.vars.internetName}-remote
- Account ${super.monorepo.vars.internetName}
-
- MaildirStore ${super.monorepo.vars.internetName}-local
- Path ~/email/${super.monorepo.vars.internetName}/
- Inbox ~/email/${super.monorepo.vars.internetName}/INBOX
- SubFolders Verbatim
-
- Channel ${super.monorepo.vars.internetName}
- Far :${super.monorepo.vars.internetName}-remote:
- Near :${super.monorepo.vars.internetName}-local:
- Patterns *
- Create Near
- Sync All
- Expunge None
- SyncState *
- '';
- };
-}