diff options
author | Preston Pan <ret2pop@gmail.com> | 2025-01-16 02:11:26 -0800 |
---|---|---|
committer | Preston Pan <ret2pop@gmail.com> | 2025-01-16 02:11:26 -0800 |
commit | 1a3486d77574c06b395ab6cda41084f5ed24a3f4 (patch) | |
tree | 69d1051bd14a0c3cb374f84a8c06cb655eba509b /nix/modules/home/mbsync.nix | |
parent | 2dff9d2b61244fed49136028d0e0f6ae3ae759cf (diff) |
modularized nix configuration; builds correctly
Diffstat (limited to 'nix/modules/home/mbsync.nix')
-rw-r--r-- | nix/modules/home/mbsync.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/nix/modules/home/mbsync.nix b/nix/modules/home/mbsync.nix index e509c27..67d971a 100644 --- a/nix/modules/home/mbsync.nix +++ b/nix/modules/home/mbsync.nix @@ -1,10 +1,11 @@ { lib, config, ... }: { - enable = lib.mkDefault config.profiles.home.email.enable; - extraConfig = '' + programs.mbsync = { + enable = lib.mkDefault config.monorepo.profiles.email.enable; + extraConfig = '' IMAPAccount ret2pop - Host ${config.profiles.home.email.imapsServer} - User ${config.profiles.email.email} + Host ${config.monorepo.profiles.email.imapsServer} + User ${config.monorepo.profiles.email.email} PassCmd "cat ${config.sops.secrets.mail.path}" Port 993 TLSType IMAPS @@ -28,4 +29,5 @@ Expunge None SyncState * ''; + }; } |