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 e813e00..cdd1e91 100644 Binary files a/users/patrick/secrets.nix.age and b/users/patrick/secrets.nix.age differ