feat(users/rafiq): add email configuration
This commit is contained in:
parent
f1324f15ed
commit
8dd23844f1
3 changed files with 50 additions and 3 deletions
|
@ -1,5 +1,48 @@
|
|||
{ pkgs, inputs, ... }:
|
||||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
osConfig,
|
||||
...
|
||||
}:
|
||||
{
|
||||
accounts = {
|
||||
email = {
|
||||
maildirBasePath = "mail";
|
||||
accounts = {
|
||||
"rafiq@rrv.sh" = {
|
||||
primary = true;
|
||||
address = "rafiq@rrv.sh";
|
||||
maildir.path = "rafiq@rrv.sh";
|
||||
userName = "rafiq@rrv.sh";
|
||||
realName = "Mohammad Rafiq";
|
||||
passwordCommand = "sudo cat ${osConfig.sops.secrets."rafiq/personalEmailPassword".path}";
|
||||
imap = {
|
||||
host = "imap.forwardemail.net";
|
||||
port = 993;
|
||||
};
|
||||
smtp = {
|
||||
host = "smtp.forwardemail.net";
|
||||
port = 465;
|
||||
};
|
||||
};
|
||||
"mohammadrafiq@rrv.sh" = {
|
||||
address = "mohammadrafiq@rrv.sh";
|
||||
maildir.path = "mohammadrafiq@rrv.sh";
|
||||
userName = "mohammadrafiq@rrv.sh";
|
||||
realName = "Mohammad Rafiq";
|
||||
passwordCommand = "sudo cat ${osConfig.sops.secrets."rafiq/workEmailPassword".path}";
|
||||
imap = {
|
||||
host = "imap.forwardemail.net";
|
||||
port = 993;
|
||||
};
|
||||
smtp = {
|
||||
host = "smtp.forwardemail.net";
|
||||
port = 465;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
cli = {
|
||||
shell = "zsh";
|
||||
finder = "fzf";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue