mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-11 02:32:37 +08:00
Add work gmail
This commit is contained in:
parent
390acba816
commit
56d1b9ca9e
2 changed files with 23 additions and 6 deletions
|
|
@ -1,5 +1,4 @@
|
|||
let
|
||||
# https://pimalaya.org/himalaya/cli/latest/configuration/icloud-mail.html
|
||||
iCloudMailSettings = {
|
||||
imap = {
|
||||
host = "imap.mail.me.com";
|
||||
|
|
@ -11,6 +10,17 @@ let
|
|||
tls.useStartTls = true;
|
||||
};
|
||||
};
|
||||
GmailSettings = {
|
||||
imap = {
|
||||
host = "imap.gmail.com";
|
||||
port = 993;
|
||||
};
|
||||
smtp = {
|
||||
host = "smtp.gmail.com";
|
||||
port = 465;
|
||||
# tls.useStartTls = true;
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
|
|
@ -24,7 +34,13 @@ in
|
|||
address = "happyandharmless@icloud.com";
|
||||
aliases = [ "srid@srid.ca" ];
|
||||
userName = "happyandharmless";
|
||||
passwordCommand = "op read op://Personal/iCloud-Apple/himalaya";
|
||||
passwordCommand = "op read op://Personal/iCloud-Apple/home-manager";
|
||||
};
|
||||
"sridhar.ratnakumar@juspay.in" = GmailSettings // {
|
||||
realName = "Sridhar Ratnakumar";
|
||||
address = "sridhar.ratnakumar@juspay.in";
|
||||
userName = "sridhar.ratnakumar@juspay.in";
|
||||
passwordCommand = "op read op://Personal/Google-Juspay/home-manager";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,10 +13,11 @@
|
|||
};
|
||||
|
||||
accounts.email.accounts = {
|
||||
"srid@srid.ca" = {
|
||||
thunderbird = {
|
||||
enable = true;
|
||||
};
|
||||
"srid@srid.ca".thunderbird = {
|
||||
enable = true;
|
||||
};
|
||||
"sridhar.ratnakumar@juspay.in".thunderbird = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue