From 5cf347812ca70d28e3e597c0bf53ad0a5d1716a3 Mon Sep 17 00:00:00 2001 From: Mohammad Rafiq Date: Tue, 1 Jul 2025 14:44:44 +0800 Subject: [PATCH] chore(homes/rafiq): remove email cuz dat shit dont work --- homes/x86_64-linux/rafiq/cli/email.nix | 46 -------------------------- 1 file changed, 46 deletions(-) delete mode 100644 homes/x86_64-linux/rafiq/cli/email.nix diff --git a/homes/x86_64-linux/rafiq/cli/email.nix b/homes/x86_64-linux/rafiq/cli/email.nix deleted file mode 100644 index 27e87e1..0000000 --- a/homes/x86_64-linux/rafiq/cli/email.nix +++ /dev/null @@ -1,46 +0,0 @@ -{ osConfig, lib, ... }: -let - mkEmailAccount = address: { - inherit address; - maildir.path = address; - userName = address; - realName = "Mohammad Rafiq"; - passwordCommand = "sudo cat ${osConfig.sops.secrets."rafiq/personalEmailPassword".path}"; - mbsync = { - enable = true; - create = "both"; - }; - imap = { - host = "imap.forwardemail.net"; - port = 993; - }; - smtp = { - host = "smtp.forwardemail.net"; - port = 465; - }; - thunderbird.enable = osConfig.desktop.enable; - neomutt.enable = true; - neomutt.mailboxType = "imap"; - himalaya.enable = true; - }; -in -{ - programs.himalaya.enable = true; - programs.neomutt = { - enable = true; - vimKeys = true; - }; - persistDirs = [ - "mail/rafiq@rrv.sh" - "mail/mohammadrafiq@rrv.sh" - ]; - accounts.email = { - maildirBasePath = "mail"; - accounts = { - "rafiq@rrv.sh" = mkEmailAccount "rafiq@rrv.sh" // { - primary = true; - }; - "mohammadrafiq@rrv.sh" = mkEmailAccount "mohammadrafiq@rrv.sh"; - }; - }; -}