From 18b25c59c0229c8755226b44a3cc8cde23722234 Mon Sep 17 00:00:00 2001 From: Patrick Date: Tue, 30 Jan 2024 21:33:01 +0100 Subject: [PATCH] feat: mail accounts --- users/common/programs/thunderbird.nix | 13 ++++++++++++- users/patrick/secrets.nix.age | Bin 637 -> 2368 bytes 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/users/common/programs/thunderbird.nix b/users/common/programs/thunderbird.nix index e3a03c8..f10c091 100644 --- a/users/common/programs/thunderbird.nix +++ b/users/common/programs/thunderbird.nix @@ -1,4 +1,15 @@ -{pkgs, ...}: { +{ + config, + lib, + ... +}: { + accounts.email.accounts = lib.flip lib.mapAttrs' config.userSecrets.accounts.email ( + _: v: + lib.nameValuePair v.address (lib.recursiveUpdate v { + thunderbird.enable = true; + thunderbird.profiles = ["personal"]; + }) + ); programs.thunderbird = { enable = true; diff --git a/users/patrick/secrets.nix.age b/users/patrick/secrets.nix.age index e813e001fa5de32f2fbca0d1a81b58d1a786f798..cdd1e919bab9cc3a27c6f82f1cc695740064ba9a 100644 GIT binary patch delta 2327 zcmV+y3F!9y1i%uIAb)O5LU?H}aA9vRV{9~Ga7Hy*D^y}(XK*=1MoD#6R#-+dL}GVG zZ!=U9-S3)aUT31(hcS;I+ zT19I?HZ^c7VKZn*F*ZU;H&by^F+oW-D_BZFQ*LNMLqvCXFfUncQ*#O}J|J*ub}eu+ zH8vnMc5P5}Q6NEZWn*$wVRuS1Rd+B!N@HR|OHxEdIWSmBQ%E>ZIB0lmMp`RJD`Ij| zVscjsQ&UE5b#H8XW^Qm=P*piGcxq^QL|8FOc2#3jGe$ROO+i_9XH`T(MMGzkPXQHw zcw=^CWK(TzK{HxdY%*~O zi?98NjlLL~()bu|t15?jF$pEBO5TTR*a|0fSiEc*jLS9qp6{tqG;pkbvDgn(AVthy zJnA!r-5Op!REA`YckAe#l@?fk!a(cMClxDcx<*P)WDMwZT$|+{A7C%{N2hxwGmdXp z`cECMTO4K(rILge$ma`Df+V7bNw0*F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