From e5ad850eb87c30627b48fe7f32e5dfdb0ce2ca12 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Sat, 3 Dec 2022 15:20:26 -0500 Subject: [PATCH] Remove unused email.nix --- home/email.nix | 55 -------------------------------------------------- 1 file changed, 55 deletions(-) delete mode 100644 home/email.nix diff --git a/home/email.nix b/home/email.nix deleted file mode 100644 index bfe591e..0000000 --- a/home/email.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ pkgs, ... }: -let - realName = "Sridhar Ratnakumar"; - # IMAP/SMTP settings for standard email servers - servers = { - icloud = { - imap = { - host = "imap.mail.me.com"; - port = 993; - tls.enable = true; - }; - smtp = { - host = "smtp.mail.me.com"; - port = 587; - tls.enable = true; - }; - }; - protonmail = { - imap = { - host = "127.0.0.1"; - port = 1143; - tls.enable = true; - tls.useStartTls = true; - }; - smtp = { - host = "127.0.0.1"; - port = 1025; - tls.enable = true; - }; - }; - }; -in -{ - programs.himalaya = { - enable = true; - settings = { }; - }; - accounts.email.accounts = { - proton = servers.protonmail // { - inherit realName; - primary = true; - himalaya.enable = true; - address = "srid@srid.ca"; - userName = "hey@srid.ca"; - passwordCommand = "cat /Users/srid/.protonmail.password"; # Temporary password from ProtonMail Bridge, so I don't care - }; - icloud = servers.icloud // { - inherit realName; - address = "happyandharmless@icloud.com"; - userName = "happyandharmless"; - passwordCommand = "op item get iCloud --fields label=himalaya"; - }; - }; -} -