From de91ef0f43ee1e414ed8a17e560e0a0811264d59 Mon Sep 17 00:00:00 2001 From: Tyler Beckman Date: Mon, 25 Nov 2024 11:10:10 -0700 Subject: [PATCH] Finish email config --- home-manager/modules/accounts/email.nix | 42 +++++++++++++++++++++++-- 1 file changed, 40 insertions(+), 2 deletions(-) diff --git a/home-manager/modules/accounts/email.nix b/home-manager/modules/accounts/email.nix index a1c8c80..80778d0 100755 --- a/home-manager/modules/accounts/email.nix +++ b/home-manager/modules/accounts/email.nix @@ -1,10 +1,10 @@ { ... }: { accounts.email.accounts = { - PurelyMail = { + PurelyMail = rec { realName = "Tyler Beckman"; address = "ty@myriation.xyz"; - userName = "ty@myriation.xyz"; + userName = address; primary = true; folders = { @@ -40,5 +40,43 @@ thunderbird.enable = true; }; + + Gmail = rec { + realName = "Tyler Beckman"; + address = "tbeckman530@gmail.com"; + userName = address; + flavor = "gmail.com"; + + folders = { + inbox = "Inbox"; + drafts = "Drafts"; + sent = "Sent"; + trash = "Trash"; + }; + + gpg = { + encryptByDefault = false; + signByDefault = false; + key = "A6299C20250223DCDEBA5E2C933B9437A97A56B8"; + }; + + smtp.tls.useStartTls = false; + + thunderbird.enable = true; + }; + + School = rec { + realName = "Tyler Beckman"; + address = "tyler_beckman@mines.edu"; + userName = address; + flavor = "outlook.office365.com"; + + folders = { + inbox = "Inbox"; + drafts = "Drafts"; + sent = "Sent Items"; + trash = "Trash"; + }; + }; }; } \ No newline at end of file